module Stratosphere.SES.MailManagerIngressPoint.PrivateNetworkConfigurationProperty (
PrivateNetworkConfigurationProperty(..),
mkPrivateNetworkConfigurationProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data PrivateNetworkConfigurationProperty
=
PrivateNetworkConfigurationProperty {PrivateNetworkConfigurationProperty -> ()
haddock_workaround_ :: (),
PrivateNetworkConfigurationProperty -> Value Text
vpcEndpointId :: (Value Prelude.Text)}
deriving stock (PrivateNetworkConfigurationProperty
-> PrivateNetworkConfigurationProperty -> Bool
(PrivateNetworkConfigurationProperty
-> PrivateNetworkConfigurationProperty -> Bool)
-> (PrivateNetworkConfigurationProperty
-> PrivateNetworkConfigurationProperty -> Bool)
-> Eq PrivateNetworkConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: PrivateNetworkConfigurationProperty
-> PrivateNetworkConfigurationProperty -> Bool
== :: PrivateNetworkConfigurationProperty
-> PrivateNetworkConfigurationProperty -> Bool
$c/= :: PrivateNetworkConfigurationProperty
-> PrivateNetworkConfigurationProperty -> Bool
/= :: PrivateNetworkConfigurationProperty
-> PrivateNetworkConfigurationProperty -> Bool
Prelude.Eq, Int -> PrivateNetworkConfigurationProperty -> ShowS
[PrivateNetworkConfigurationProperty] -> ShowS
PrivateNetworkConfigurationProperty -> String
(Int -> PrivateNetworkConfigurationProperty -> ShowS)
-> (PrivateNetworkConfigurationProperty -> String)
-> ([PrivateNetworkConfigurationProperty] -> ShowS)
-> Show PrivateNetworkConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> PrivateNetworkConfigurationProperty -> ShowS
showsPrec :: Int -> PrivateNetworkConfigurationProperty -> ShowS
$cshow :: PrivateNetworkConfigurationProperty -> String
show :: PrivateNetworkConfigurationProperty -> String
$cshowList :: [PrivateNetworkConfigurationProperty] -> ShowS
showList :: [PrivateNetworkConfigurationProperty] -> ShowS
Prelude.Show)
mkPrivateNetworkConfigurationProperty ::
Value Prelude.Text -> PrivateNetworkConfigurationProperty
mkPrivateNetworkConfigurationProperty :: Value Text -> PrivateNetworkConfigurationProperty
mkPrivateNetworkConfigurationProperty Value Text
vpcEndpointId
= PrivateNetworkConfigurationProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), vpcEndpointId :: Value Text
vpcEndpointId = Value Text
vpcEndpointId}
instance ToResourceProperties PrivateNetworkConfigurationProperty where
toResourceProperties :: PrivateNetworkConfigurationProperty -> ResourceProperties
toResourceProperties PrivateNetworkConfigurationProperty {()
Value Text
haddock_workaround_ :: PrivateNetworkConfigurationProperty -> ()
vpcEndpointId :: PrivateNetworkConfigurationProperty -> Value Text
haddock_workaround_ :: ()
vpcEndpointId :: Value Text
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::SES::MailManagerIngressPoint.PrivateNetworkConfiguration",
supportsTags :: Bool
supportsTags = Bool
Prelude.False,
properties :: Object
properties = [Key
"VpcEndpointId" 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
vpcEndpointId]}
instance JSON.ToJSON PrivateNetworkConfigurationProperty where
toJSON :: PrivateNetworkConfigurationProperty -> Value
toJSON PrivateNetworkConfigurationProperty {()
Value Text
haddock_workaround_ :: PrivateNetworkConfigurationProperty -> ()
vpcEndpointId :: PrivateNetworkConfigurationProperty -> Value Text
haddock_workaround_ :: ()
vpcEndpointId :: Value Text
..}
= [(Key, Value)] -> Value
JSON.object [Key
"VpcEndpointId" 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
vpcEndpointId]
instance Property "VpcEndpointId" PrivateNetworkConfigurationProperty where
type PropertyType "VpcEndpointId" PrivateNetworkConfigurationProperty = Value Prelude.Text
set :: PropertyType "VpcEndpointId" PrivateNetworkConfigurationProperty
-> PrivateNetworkConfigurationProperty
-> PrivateNetworkConfigurationProperty
set PropertyType "VpcEndpointId" PrivateNetworkConfigurationProperty
newValue PrivateNetworkConfigurationProperty {()
Value Text
haddock_workaround_ :: PrivateNetworkConfigurationProperty -> ()
vpcEndpointId :: PrivateNetworkConfigurationProperty -> Value Text
haddock_workaround_ :: ()
vpcEndpointId :: Value Text
..}
= PrivateNetworkConfigurationProperty
{vpcEndpointId :: Value Text
vpcEndpointId = PropertyType "VpcEndpointId" PrivateNetworkConfigurationProperty
Value Text
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}