module Stratosphere.IVSChat.LoggingConfiguration.FirehoseDestinationConfigurationProperty ( FirehoseDestinationConfigurationProperty(..), mkFirehoseDestinationConfigurationProperty ) where import qualified Data.Aeson as JSON import qualified Stratosphere.Prelude as Prelude import Stratosphere.Property import Stratosphere.ResourceProperties import Stratosphere.Value data FirehoseDestinationConfigurationProperty = -- | See: FirehoseDestinationConfigurationProperty {haddock_workaround_ :: (), -- | See: deliveryStreamName :: (Value Prelude.Text)} deriving stock (Prelude.Eq, Prelude.Show) mkFirehoseDestinationConfigurationProperty :: Value Prelude.Text -> FirehoseDestinationConfigurationProperty mkFirehoseDestinationConfigurationProperty deliveryStreamName = FirehoseDestinationConfigurationProperty {haddock_workaround_ = (), deliveryStreamName = deliveryStreamName} instance ToResourceProperties FirehoseDestinationConfigurationProperty where toResourceProperties FirehoseDestinationConfigurationProperty {..} = ResourceProperties {awsType = "AWS::IVSChat::LoggingConfiguration.FirehoseDestinationConfiguration", supportsTags = Prelude.False, properties = ["DeliveryStreamName" JSON..= deliveryStreamName]} instance JSON.ToJSON FirehoseDestinationConfigurationProperty where toJSON FirehoseDestinationConfigurationProperty {..} = JSON.object ["DeliveryStreamName" JSON..= deliveryStreamName] instance Property "DeliveryStreamName" FirehoseDestinationConfigurationProperty where type PropertyType "DeliveryStreamName" FirehoseDestinationConfigurationProperty = Value Prelude.Text set newValue FirehoseDestinationConfigurationProperty {..} = FirehoseDestinationConfigurationProperty {deliveryStreamName = newValue, ..}