module Stratosphere.QuickSight.DataSource.SslPropertiesProperty ( SslPropertiesProperty(..), mkSslPropertiesProperty ) where import qualified Data.Aeson as JSON import qualified Stratosphere.Prelude as Prelude import Stratosphere.Property import Stratosphere.ResourceProperties import Stratosphere.Value data SslPropertiesProperty = -- | See: SslPropertiesProperty {haddock_workaround_ :: (), -- | See: disableSsl :: (Prelude.Maybe (Value Prelude.Bool))} deriving stock (Prelude.Eq, Prelude.Show) mkSslPropertiesProperty :: SslPropertiesProperty mkSslPropertiesProperty = SslPropertiesProperty {haddock_workaround_ = (), disableSsl = Prelude.Nothing} instance ToResourceProperties SslPropertiesProperty where toResourceProperties SslPropertiesProperty {..} = ResourceProperties {awsType = "AWS::QuickSight::DataSource.SslProperties", supportsTags = Prelude.False, properties = Prelude.fromList (Prelude.catMaybes [(JSON..=) "DisableSsl" Prelude.<$> disableSsl])} instance JSON.ToJSON SslPropertiesProperty where toJSON SslPropertiesProperty {..} = JSON.object (Prelude.fromList (Prelude.catMaybes [(JSON..=) "DisableSsl" Prelude.<$> disableSsl])) instance Property "DisableSsl" SslPropertiesProperty where type PropertyType "DisableSsl" SslPropertiesProperty = Value Prelude.Bool set newValue SslPropertiesProperty {..} = SslPropertiesProperty {disableSsl = Prelude.pure newValue, ..}