module Stratosphere.SES.MailManagerTrafficPolicy.IngressTlsProtocolToEvaluateProperty (
        IngressTlsProtocolToEvaluateProperty(..),
        mkIngressTlsProtocolToEvaluateProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data IngressTlsProtocolToEvaluateProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingresstlsprotocoltoevaluate.html>
    IngressTlsProtocolToEvaluateProperty {IngressTlsProtocolToEvaluateProperty -> ()
haddock_workaround_ :: (),
                                          -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingresstlsprotocoltoevaluate.html#cfn-ses-mailmanagertrafficpolicy-ingresstlsprotocoltoevaluate-attribute>
                                          IngressTlsProtocolToEvaluateProperty -> Value Text
attribute :: (Value Prelude.Text)}
  deriving stock (IngressTlsProtocolToEvaluateProperty
-> IngressTlsProtocolToEvaluateProperty -> Bool
(IngressTlsProtocolToEvaluateProperty
 -> IngressTlsProtocolToEvaluateProperty -> Bool)
-> (IngressTlsProtocolToEvaluateProperty
    -> IngressTlsProtocolToEvaluateProperty -> Bool)
-> Eq IngressTlsProtocolToEvaluateProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: IngressTlsProtocolToEvaluateProperty
-> IngressTlsProtocolToEvaluateProperty -> Bool
== :: IngressTlsProtocolToEvaluateProperty
-> IngressTlsProtocolToEvaluateProperty -> Bool
$c/= :: IngressTlsProtocolToEvaluateProperty
-> IngressTlsProtocolToEvaluateProperty -> Bool
/= :: IngressTlsProtocolToEvaluateProperty
-> IngressTlsProtocolToEvaluateProperty -> Bool
Prelude.Eq, Int -> IngressTlsProtocolToEvaluateProperty -> ShowS
[IngressTlsProtocolToEvaluateProperty] -> ShowS
IngressTlsProtocolToEvaluateProperty -> String
(Int -> IngressTlsProtocolToEvaluateProperty -> ShowS)
-> (IngressTlsProtocolToEvaluateProperty -> String)
-> ([IngressTlsProtocolToEvaluateProperty] -> ShowS)
-> Show IngressTlsProtocolToEvaluateProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> IngressTlsProtocolToEvaluateProperty -> ShowS
showsPrec :: Int -> IngressTlsProtocolToEvaluateProperty -> ShowS
$cshow :: IngressTlsProtocolToEvaluateProperty -> String
show :: IngressTlsProtocolToEvaluateProperty -> String
$cshowList :: [IngressTlsProtocolToEvaluateProperty] -> ShowS
showList :: [IngressTlsProtocolToEvaluateProperty] -> ShowS
Prelude.Show)
mkIngressTlsProtocolToEvaluateProperty ::
  Value Prelude.Text -> IngressTlsProtocolToEvaluateProperty
mkIngressTlsProtocolToEvaluateProperty :: Value Text -> IngressTlsProtocolToEvaluateProperty
mkIngressTlsProtocolToEvaluateProperty Value Text
attribute
  = IngressTlsProtocolToEvaluateProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), attribute :: Value Text
attribute = Value Text
attribute}
instance ToResourceProperties IngressTlsProtocolToEvaluateProperty where
  toResourceProperties :: IngressTlsProtocolToEvaluateProperty -> ResourceProperties
toResourceProperties IngressTlsProtocolToEvaluateProperty {()
Value Text
haddock_workaround_ :: IngressTlsProtocolToEvaluateProperty -> ()
attribute :: IngressTlsProtocolToEvaluateProperty -> Value Text
haddock_workaround_ :: ()
attribute :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::SES::MailManagerTrafficPolicy.IngressTlsProtocolToEvaluate",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Key
"Attribute" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
attribute]}
instance JSON.ToJSON IngressTlsProtocolToEvaluateProperty where
  toJSON :: IngressTlsProtocolToEvaluateProperty -> Value
toJSON IngressTlsProtocolToEvaluateProperty {()
Value Text
haddock_workaround_ :: IngressTlsProtocolToEvaluateProperty -> ()
attribute :: IngressTlsProtocolToEvaluateProperty -> Value Text
haddock_workaround_ :: ()
attribute :: Value Text
..}
    = [(Key, Value)] -> Value
JSON.object [Key
"Attribute" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
attribute]
instance Property "Attribute" IngressTlsProtocolToEvaluateProperty where
  type PropertyType "Attribute" IngressTlsProtocolToEvaluateProperty = Value Prelude.Text
  set :: PropertyType "Attribute" IngressTlsProtocolToEvaluateProperty
-> IngressTlsProtocolToEvaluateProperty
-> IngressTlsProtocolToEvaluateProperty
set PropertyType "Attribute" IngressTlsProtocolToEvaluateProperty
newValue IngressTlsProtocolToEvaluateProperty {()
Value Text
haddock_workaround_ :: IngressTlsProtocolToEvaluateProperty -> ()
attribute :: IngressTlsProtocolToEvaluateProperty -> Value Text
haddock_workaround_ :: ()
attribute :: Value Text
..}
    = IngressTlsProtocolToEvaluateProperty {attribute :: Value Text
attribute = PropertyType "Attribute" IngressTlsProtocolToEvaluateProperty
Value Text
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}