module Stratosphere.KinesisAnalyticsV2.Application.GlueDataCatalogConfigurationProperty ( GlueDataCatalogConfigurationProperty(..), mkGlueDataCatalogConfigurationProperty ) where import qualified Data.Aeson as JSON import qualified Stratosphere.Prelude as Prelude import Stratosphere.Property import Stratosphere.ResourceProperties import Stratosphere.Value data GlueDataCatalogConfigurationProperty = -- | See: GlueDataCatalogConfigurationProperty {haddock_workaround_ :: (), -- | See: databaseARN :: (Prelude.Maybe (Value Prelude.Text))} deriving stock (Prelude.Eq, Prelude.Show) mkGlueDataCatalogConfigurationProperty :: GlueDataCatalogConfigurationProperty mkGlueDataCatalogConfigurationProperty = GlueDataCatalogConfigurationProperty {haddock_workaround_ = (), databaseARN = Prelude.Nothing} instance ToResourceProperties GlueDataCatalogConfigurationProperty where toResourceProperties GlueDataCatalogConfigurationProperty {..} = ResourceProperties {awsType = "AWS::KinesisAnalyticsV2::Application.GlueDataCatalogConfiguration", supportsTags = Prelude.False, properties = Prelude.fromList (Prelude.catMaybes [(JSON..=) "DatabaseARN" Prelude.<$> databaseARN])} instance JSON.ToJSON GlueDataCatalogConfigurationProperty where toJSON GlueDataCatalogConfigurationProperty {..} = JSON.object (Prelude.fromList (Prelude.catMaybes [(JSON..=) "DatabaseARN" Prelude.<$> databaseARN])) instance Property "DatabaseARN" GlueDataCatalogConfigurationProperty where type PropertyType "DatabaseARN" GlueDataCatalogConfigurationProperty = Value Prelude.Text set newValue GlueDataCatalogConfigurationProperty {..} = GlueDataCatalogConfigurationProperty {databaseARN = Prelude.pure newValue, ..}