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