module Stratosphere.AppMesh.VirtualGateway.VirtualGatewayTlsValidationContextAcmTrustProperty (
VirtualGatewayTlsValidationContextAcmTrustProperty(..),
mkVirtualGatewayTlsValidationContextAcmTrustProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data VirtualGatewayTlsValidationContextAcmTrustProperty
=
VirtualGatewayTlsValidationContextAcmTrustProperty {VirtualGatewayTlsValidationContextAcmTrustProperty -> ()
haddock_workaround_ :: (),
VirtualGatewayTlsValidationContextAcmTrustProperty
-> ValueList Text
certificateAuthorityArns :: (ValueList Prelude.Text)}
deriving stock (VirtualGatewayTlsValidationContextAcmTrustProperty
-> VirtualGatewayTlsValidationContextAcmTrustProperty -> Bool
(VirtualGatewayTlsValidationContextAcmTrustProperty
-> VirtualGatewayTlsValidationContextAcmTrustProperty -> Bool)
-> (VirtualGatewayTlsValidationContextAcmTrustProperty
-> VirtualGatewayTlsValidationContextAcmTrustProperty -> Bool)
-> Eq VirtualGatewayTlsValidationContextAcmTrustProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: VirtualGatewayTlsValidationContextAcmTrustProperty
-> VirtualGatewayTlsValidationContextAcmTrustProperty -> Bool
== :: VirtualGatewayTlsValidationContextAcmTrustProperty
-> VirtualGatewayTlsValidationContextAcmTrustProperty -> Bool
$c/= :: VirtualGatewayTlsValidationContextAcmTrustProperty
-> VirtualGatewayTlsValidationContextAcmTrustProperty -> Bool
/= :: VirtualGatewayTlsValidationContextAcmTrustProperty
-> VirtualGatewayTlsValidationContextAcmTrustProperty -> Bool
Prelude.Eq, Int -> VirtualGatewayTlsValidationContextAcmTrustProperty -> ShowS
[VirtualGatewayTlsValidationContextAcmTrustProperty] -> ShowS
VirtualGatewayTlsValidationContextAcmTrustProperty -> String
(Int
-> VirtualGatewayTlsValidationContextAcmTrustProperty -> ShowS)
-> (VirtualGatewayTlsValidationContextAcmTrustProperty -> String)
-> ([VirtualGatewayTlsValidationContextAcmTrustProperty] -> ShowS)
-> Show VirtualGatewayTlsValidationContextAcmTrustProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> VirtualGatewayTlsValidationContextAcmTrustProperty -> ShowS
showsPrec :: Int -> VirtualGatewayTlsValidationContextAcmTrustProperty -> ShowS
$cshow :: VirtualGatewayTlsValidationContextAcmTrustProperty -> String
show :: VirtualGatewayTlsValidationContextAcmTrustProperty -> String
$cshowList :: [VirtualGatewayTlsValidationContextAcmTrustProperty] -> ShowS
showList :: [VirtualGatewayTlsValidationContextAcmTrustProperty] -> ShowS
Prelude.Show)
mkVirtualGatewayTlsValidationContextAcmTrustProperty ::
ValueList Prelude.Text
-> VirtualGatewayTlsValidationContextAcmTrustProperty
mkVirtualGatewayTlsValidationContextAcmTrustProperty :: ValueList Text
-> VirtualGatewayTlsValidationContextAcmTrustProperty
mkVirtualGatewayTlsValidationContextAcmTrustProperty
ValueList Text
certificateAuthorityArns
= VirtualGatewayTlsValidationContextAcmTrustProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (),
certificateAuthorityArns :: ValueList Text
certificateAuthorityArns = ValueList Text
certificateAuthorityArns}
instance ToResourceProperties VirtualGatewayTlsValidationContextAcmTrustProperty where
toResourceProperties :: VirtualGatewayTlsValidationContextAcmTrustProperty
-> ResourceProperties
toResourceProperties
VirtualGatewayTlsValidationContextAcmTrustProperty {()
ValueList Text
haddock_workaround_ :: VirtualGatewayTlsValidationContextAcmTrustProperty -> ()
certificateAuthorityArns :: VirtualGatewayTlsValidationContextAcmTrustProperty
-> ValueList Text
haddock_workaround_ :: ()
certificateAuthorityArns :: ValueList Text
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextAcmTrust",
supportsTags :: Bool
supportsTags = Bool
Prelude.False,
properties :: Object
properties = [Key
"CertificateAuthorityArns"
Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= ValueList Text
certificateAuthorityArns]}
instance JSON.ToJSON VirtualGatewayTlsValidationContextAcmTrustProperty where
toJSON :: VirtualGatewayTlsValidationContextAcmTrustProperty -> Value
toJSON VirtualGatewayTlsValidationContextAcmTrustProperty {()
ValueList Text
haddock_workaround_ :: VirtualGatewayTlsValidationContextAcmTrustProperty -> ()
certificateAuthorityArns :: VirtualGatewayTlsValidationContextAcmTrustProperty
-> ValueList Text
haddock_workaround_ :: ()
certificateAuthorityArns :: ValueList Text
..}
= [(Key, Value)] -> Value
JSON.object
[Key
"CertificateAuthorityArns" Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= ValueList Text
certificateAuthorityArns]
instance Property "CertificateAuthorityArns" VirtualGatewayTlsValidationContextAcmTrustProperty where
type PropertyType "CertificateAuthorityArns" VirtualGatewayTlsValidationContextAcmTrustProperty = ValueList Prelude.Text
set :: PropertyType
"CertificateAuthorityArns"
VirtualGatewayTlsValidationContextAcmTrustProperty
-> VirtualGatewayTlsValidationContextAcmTrustProperty
-> VirtualGatewayTlsValidationContextAcmTrustProperty
set
PropertyType
"CertificateAuthorityArns"
VirtualGatewayTlsValidationContextAcmTrustProperty
newValue
VirtualGatewayTlsValidationContextAcmTrustProperty {()
ValueList Text
haddock_workaround_ :: VirtualGatewayTlsValidationContextAcmTrustProperty -> ()
certificateAuthorityArns :: VirtualGatewayTlsValidationContextAcmTrustProperty
-> ValueList Text
haddock_workaround_ :: ()
certificateAuthorityArns :: ValueList Text
..}
= VirtualGatewayTlsValidationContextAcmTrustProperty
{certificateAuthorityArns :: ValueList Text
certificateAuthorityArns = PropertyType
"CertificateAuthorityArns"
VirtualGatewayTlsValidationContextAcmTrustProperty
ValueList Text
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}