module Stratosphere.SES.MailManagerTrafficPolicy.IngressIpToEvaluateProperty (
IngressIpToEvaluateProperty(..), mkIngressIpToEvaluateProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data IngressIpToEvaluateProperty
=
IngressIpToEvaluateProperty {IngressIpToEvaluateProperty -> ()
haddock_workaround_ :: (),
IngressIpToEvaluateProperty -> Value Text
attribute :: (Value Prelude.Text)}
deriving stock (IngressIpToEvaluateProperty -> IngressIpToEvaluateProperty -> Bool
(IngressIpToEvaluateProperty
-> IngressIpToEvaluateProperty -> Bool)
-> (IngressIpToEvaluateProperty
-> IngressIpToEvaluateProperty -> Bool)
-> Eq IngressIpToEvaluateProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: IngressIpToEvaluateProperty -> IngressIpToEvaluateProperty -> Bool
== :: IngressIpToEvaluateProperty -> IngressIpToEvaluateProperty -> Bool
$c/= :: IngressIpToEvaluateProperty -> IngressIpToEvaluateProperty -> Bool
/= :: IngressIpToEvaluateProperty -> IngressIpToEvaluateProperty -> Bool
Prelude.Eq, Int -> IngressIpToEvaluateProperty -> ShowS
[IngressIpToEvaluateProperty] -> ShowS
IngressIpToEvaluateProperty -> String
(Int -> IngressIpToEvaluateProperty -> ShowS)
-> (IngressIpToEvaluateProperty -> String)
-> ([IngressIpToEvaluateProperty] -> ShowS)
-> Show IngressIpToEvaluateProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> IngressIpToEvaluateProperty -> ShowS
showsPrec :: Int -> IngressIpToEvaluateProperty -> ShowS
$cshow :: IngressIpToEvaluateProperty -> String
show :: IngressIpToEvaluateProperty -> String
$cshowList :: [IngressIpToEvaluateProperty] -> ShowS
showList :: [IngressIpToEvaluateProperty] -> ShowS
Prelude.Show)
mkIngressIpToEvaluateProperty ::
Value Prelude.Text -> IngressIpToEvaluateProperty
mkIngressIpToEvaluateProperty :: Value Text -> IngressIpToEvaluateProperty
mkIngressIpToEvaluateProperty Value Text
attribute
= IngressIpToEvaluateProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), attribute :: Value Text
attribute = Value Text
attribute}
instance ToResourceProperties IngressIpToEvaluateProperty where
toResourceProperties :: IngressIpToEvaluateProperty -> ResourceProperties
toResourceProperties IngressIpToEvaluateProperty {()
Value Text
haddock_workaround_ :: IngressIpToEvaluateProperty -> ()
attribute :: IngressIpToEvaluateProperty -> Value Text
haddock_workaround_ :: ()
attribute :: Value Text
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::SES::MailManagerTrafficPolicy.IngressIpToEvaluate",
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 IngressIpToEvaluateProperty where
toJSON :: IngressIpToEvaluateProperty -> Value
toJSON IngressIpToEvaluateProperty {()
Value Text
haddock_workaround_ :: IngressIpToEvaluateProperty -> ()
attribute :: IngressIpToEvaluateProperty -> 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" IngressIpToEvaluateProperty where
type PropertyType "Attribute" IngressIpToEvaluateProperty = Value Prelude.Text
set :: PropertyType "Attribute" IngressIpToEvaluateProperty
-> IngressIpToEvaluateProperty -> IngressIpToEvaluateProperty
set PropertyType "Attribute" IngressIpToEvaluateProperty
newValue IngressIpToEvaluateProperty {()
Value Text
haddock_workaround_ :: IngressIpToEvaluateProperty -> ()
attribute :: IngressIpToEvaluateProperty -> Value Text
haddock_workaround_ :: ()
attribute :: Value Text
..}
= IngressIpToEvaluateProperty {attribute :: Value Text
attribute = PropertyType "Attribute" IngressIpToEvaluateProperty
Value Text
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}