stratosphere-dax-1.0.0: gen/Stratosphere/DAX/Cluster/SSESpecificationProperty.hs
module Stratosphere.DAX.Cluster.SSESpecificationProperty (
SSESpecificationProperty(..), mkSSESpecificationProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data SSESpecificationProperty
= -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dax-cluster-ssespecification.html>
SSESpecificationProperty {haddock_workaround_ :: (),
-- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dax-cluster-ssespecification.html#cfn-dax-cluster-ssespecification-sseenabled>
sSEEnabled :: (Prelude.Maybe (Value Prelude.Bool))}
deriving stock (Prelude.Eq, Prelude.Show)
mkSSESpecificationProperty :: SSESpecificationProperty
mkSSESpecificationProperty
= SSESpecificationProperty
{haddock_workaround_ = (), sSEEnabled = Prelude.Nothing}
instance ToResourceProperties SSESpecificationProperty where
toResourceProperties SSESpecificationProperty {..}
= ResourceProperties
{awsType = "AWS::DAX::Cluster.SSESpecification",
supportsTags = Prelude.False,
properties = Prelude.fromList
(Prelude.catMaybes
[(JSON..=) "SSEEnabled" Prelude.<$> sSEEnabled])}
instance JSON.ToJSON SSESpecificationProperty where
toJSON SSESpecificationProperty {..}
= JSON.object
(Prelude.fromList
(Prelude.catMaybes
[(JSON..=) "SSEEnabled" Prelude.<$> sSEEnabled]))
instance Property "SSEEnabled" SSESpecificationProperty where
type PropertyType "SSEEnabled" SSESpecificationProperty = Value Prelude.Bool
set newValue SSESpecificationProperty {..}
= SSESpecificationProperty {sSEEnabled = Prelude.pure newValue, ..}