stratosphere-bedrock-1.0.0: gen/Stratosphere/Bedrock/FlowVersion/StorageFlowNodeServiceConfigurationProperty.hs
module Stratosphere.Bedrock.FlowVersion.StorageFlowNodeServiceConfigurationProperty (
module Exports, StorageFlowNodeServiceConfigurationProperty(..),
mkStorageFlowNodeServiceConfigurationProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Bedrock.FlowVersion.StorageFlowNodeS3ConfigurationProperty as Exports
import Stratosphere.ResourceProperties
data StorageFlowNodeServiceConfigurationProperty
= -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-storageflownodeserviceconfiguration.html>
StorageFlowNodeServiceConfigurationProperty {haddock_workaround_ :: (),
-- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-storageflownodeserviceconfiguration.html#cfn-bedrock-flowversion-storageflownodeserviceconfiguration-s3>
s3 :: (Prelude.Maybe StorageFlowNodeS3ConfigurationProperty)}
deriving stock (Prelude.Eq, Prelude.Show)
mkStorageFlowNodeServiceConfigurationProperty ::
StorageFlowNodeServiceConfigurationProperty
mkStorageFlowNodeServiceConfigurationProperty
= StorageFlowNodeServiceConfigurationProperty
{haddock_workaround_ = (), s3 = Prelude.Nothing}
instance ToResourceProperties StorageFlowNodeServiceConfigurationProperty where
toResourceProperties
StorageFlowNodeServiceConfigurationProperty {..}
= ResourceProperties
{awsType = "AWS::Bedrock::FlowVersion.StorageFlowNodeServiceConfiguration",
supportsTags = Prelude.False,
properties = Prelude.fromList
(Prelude.catMaybes [(JSON..=) "S3" Prelude.<$> s3])}
instance JSON.ToJSON StorageFlowNodeServiceConfigurationProperty where
toJSON StorageFlowNodeServiceConfigurationProperty {..}
= JSON.object
(Prelude.fromList
(Prelude.catMaybes [(JSON..=) "S3" Prelude.<$> s3]))
instance Property "S3" StorageFlowNodeServiceConfigurationProperty where
type PropertyType "S3" StorageFlowNodeServiceConfigurationProperty = StorageFlowNodeS3ConfigurationProperty
set newValue StorageFlowNodeServiceConfigurationProperty {..}
= StorageFlowNodeServiceConfigurationProperty
{s3 = Prelude.pure newValue, ..}