module Stratosphere.GameLift.Fleet.CertificateConfigurationProperty ( CertificateConfigurationProperty(..), mkCertificateConfigurationProperty ) where import qualified Data.Aeson as JSON import qualified Stratosphere.Prelude as Prelude import Stratosphere.Property import Stratosphere.ResourceProperties import Stratosphere.Value data CertificateConfigurationProperty = -- | See: CertificateConfigurationProperty {haddock_workaround_ :: (), -- | See: certificateType :: (Value Prelude.Text)} deriving stock (Prelude.Eq, Prelude.Show) mkCertificateConfigurationProperty :: Value Prelude.Text -> CertificateConfigurationProperty mkCertificateConfigurationProperty certificateType = CertificateConfigurationProperty {haddock_workaround_ = (), certificateType = certificateType} instance ToResourceProperties CertificateConfigurationProperty where toResourceProperties CertificateConfigurationProperty {..} = ResourceProperties {awsType = "AWS::GameLift::Fleet.CertificateConfiguration", supportsTags = Prelude.False, properties = ["CertificateType" JSON..= certificateType]} instance JSON.ToJSON CertificateConfigurationProperty where toJSON CertificateConfigurationProperty {..} = JSON.object ["CertificateType" JSON..= certificateType] instance Property "CertificateType" CertificateConfigurationProperty where type PropertyType "CertificateType" CertificateConfigurationProperty = Value Prelude.Text set newValue CertificateConfigurationProperty {..} = CertificateConfigurationProperty {certificateType = newValue, ..}