content: module Stratosphere.Bedrock.DataSource.TransformationFunctionProperty (
          module Exports, TransformationFunctionProperty(..),
          mkTransformationFunctionProperty
      ) where
  import qualified Data.Aeson as JSON
  import qualified Stratosphere.Prelude as Prelude
  import Stratosphere.Property
  import {-# SOURCE #-} Stratosphere.Bedrock.DataSource.TransformationLambdaConfigurationProperty as Exports
  import Stratosphere.ResourceProperties
  data TransformationFunctionProperty
    = TransformationFunctionProperty {transformationLambdaConfiguration :: TransformationLambdaConfigurationProperty}
    deriving stock (Prelude.Eq, Prelude.Show)
  mkTransformationFunctionProperty ::
    TransformationLambdaConfigurationProperty
    -> TransformationFunctionProperty
  mkTransformationFunctionProperty transformationLambdaConfiguration
    = TransformationFunctionProperty
        {transformationLambdaConfiguration = transformationLambdaConfiguration}
  instance ToResourceProperties TransformationFunctionProperty where
    toResourceProperties TransformationFunctionProperty {..}
      = ResourceProperties
          {awsType = "AWS::Bedrock::DataSource.TransformationFunction",
           supportsTags = Prelude.False,
           properties = ["TransformationLambdaConfiguration"
                           JSON..= transformationLambdaConfiguration]}
  instance JSON.ToJSON TransformationFunctionProperty where
    toJSON TransformationFunctionProperty {..}
      = JSON.object
          ["TransformationLambdaConfiguration"
             JSON..= transformationLambdaConfiguration]
  instance Property "TransformationLambdaConfiguration" TransformationFunctionProperty where
    type PropertyType "TransformationLambdaConfiguration" TransformationFunctionProperty = TransformationLambdaConfigurationProperty
    set newValue TransformationFunctionProperty {}
      = TransformationFunctionProperty
          {transformationLambdaConfiguration = newValue, ..}