module Stratosphere.SageMaker.Workteam.NotificationConfigurationProperty ( NotificationConfigurationProperty(..), mkNotificationConfigurationProperty ) where import qualified Data.Aeson as JSON import qualified Stratosphere.Prelude as Prelude import Stratosphere.Property import Stratosphere.ResourceProperties import Stratosphere.Value data NotificationConfigurationProperty = -- | See: NotificationConfigurationProperty {haddock_workaround_ :: (), -- | See: notificationTopicArn :: (Value Prelude.Text)} deriving stock (Prelude.Eq, Prelude.Show) mkNotificationConfigurationProperty :: Value Prelude.Text -> NotificationConfigurationProperty mkNotificationConfigurationProperty notificationTopicArn = NotificationConfigurationProperty {haddock_workaround_ = (), notificationTopicArn = notificationTopicArn} instance ToResourceProperties NotificationConfigurationProperty where toResourceProperties NotificationConfigurationProperty {..} = ResourceProperties {awsType = "AWS::SageMaker::Workteam.NotificationConfiguration", supportsTags = Prelude.False, properties = ["NotificationTopicArn" JSON..= notificationTopicArn]} instance JSON.ToJSON NotificationConfigurationProperty where toJSON NotificationConfigurationProperty {..} = JSON.object ["NotificationTopicArn" JSON..= notificationTopicArn] instance Property "NotificationTopicArn" NotificationConfigurationProperty where type PropertyType "NotificationTopicArn" NotificationConfigurationProperty = Value Prelude.Text set newValue NotificationConfigurationProperty {..} = NotificationConfigurationProperty {notificationTopicArn = newValue, ..}