module Stratosphere.AppMesh.VirtualNode.TlsValidationContextAcmTrustProperty (
        TlsValidationContextAcmTrustProperty(..),
        mkTlsValidationContextAcmTrustProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data TlsValidationContextAcmTrustProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-tlsvalidationcontextacmtrust.html>
    TlsValidationContextAcmTrustProperty {TlsValidationContextAcmTrustProperty -> ()
haddock_workaround_ :: (),
                                          -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-tlsvalidationcontextacmtrust.html#cfn-appmesh-virtualnode-tlsvalidationcontextacmtrust-certificateauthorityarns>
                                          TlsValidationContextAcmTrustProperty -> ValueList Text
certificateAuthorityArns :: (ValueList Prelude.Text)}
  deriving stock (TlsValidationContextAcmTrustProperty
-> TlsValidationContextAcmTrustProperty -> Bool
(TlsValidationContextAcmTrustProperty
 -> TlsValidationContextAcmTrustProperty -> Bool)
-> (TlsValidationContextAcmTrustProperty
    -> TlsValidationContextAcmTrustProperty -> Bool)
-> Eq TlsValidationContextAcmTrustProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: TlsValidationContextAcmTrustProperty
-> TlsValidationContextAcmTrustProperty -> Bool
== :: TlsValidationContextAcmTrustProperty
-> TlsValidationContextAcmTrustProperty -> Bool
$c/= :: TlsValidationContextAcmTrustProperty
-> TlsValidationContextAcmTrustProperty -> Bool
/= :: TlsValidationContextAcmTrustProperty
-> TlsValidationContextAcmTrustProperty -> Bool
Prelude.Eq, Int -> TlsValidationContextAcmTrustProperty -> ShowS
[TlsValidationContextAcmTrustProperty] -> ShowS
TlsValidationContextAcmTrustProperty -> String
(Int -> TlsValidationContextAcmTrustProperty -> ShowS)
-> (TlsValidationContextAcmTrustProperty -> String)
-> ([TlsValidationContextAcmTrustProperty] -> ShowS)
-> Show TlsValidationContextAcmTrustProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> TlsValidationContextAcmTrustProperty -> ShowS
showsPrec :: Int -> TlsValidationContextAcmTrustProperty -> ShowS
$cshow :: TlsValidationContextAcmTrustProperty -> String
show :: TlsValidationContextAcmTrustProperty -> String
$cshowList :: [TlsValidationContextAcmTrustProperty] -> ShowS
showList :: [TlsValidationContextAcmTrustProperty] -> ShowS
Prelude.Show)
mkTlsValidationContextAcmTrustProperty ::
  ValueList Prelude.Text -> TlsValidationContextAcmTrustProperty
mkTlsValidationContextAcmTrustProperty :: ValueList Text -> TlsValidationContextAcmTrustProperty
mkTlsValidationContextAcmTrustProperty ValueList Text
certificateAuthorityArns
  = TlsValidationContextAcmTrustProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (),
       certificateAuthorityArns :: ValueList Text
certificateAuthorityArns = ValueList Text
certificateAuthorityArns}
instance ToResourceProperties TlsValidationContextAcmTrustProperty where
  toResourceProperties :: TlsValidationContextAcmTrustProperty -> ResourceProperties
toResourceProperties TlsValidationContextAcmTrustProperty {()
ValueList Text
haddock_workaround_ :: TlsValidationContextAcmTrustProperty -> ()
certificateAuthorityArns :: TlsValidationContextAcmTrustProperty -> ValueList Text
haddock_workaround_ :: ()
certificateAuthorityArns :: ValueList Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::AppMesh::VirtualNode.TlsValidationContextAcmTrust",
         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 TlsValidationContextAcmTrustProperty where
  toJSON :: TlsValidationContextAcmTrustProperty -> Value
toJSON TlsValidationContextAcmTrustProperty {()
ValueList Text
haddock_workaround_ :: TlsValidationContextAcmTrustProperty -> ()
certificateAuthorityArns :: TlsValidationContextAcmTrustProperty -> 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" TlsValidationContextAcmTrustProperty where
  type PropertyType "CertificateAuthorityArns" TlsValidationContextAcmTrustProperty = ValueList Prelude.Text
  set :: PropertyType
  "CertificateAuthorityArns" TlsValidationContextAcmTrustProperty
-> TlsValidationContextAcmTrustProperty
-> TlsValidationContextAcmTrustProperty
set PropertyType
  "CertificateAuthorityArns" TlsValidationContextAcmTrustProperty
newValue TlsValidationContextAcmTrustProperty {()
ValueList Text
haddock_workaround_ :: TlsValidationContextAcmTrustProperty -> ()
certificateAuthorityArns :: TlsValidationContextAcmTrustProperty -> ValueList Text
haddock_workaround_ :: ()
certificateAuthorityArns :: ValueList Text
..}
    = TlsValidationContextAcmTrustProperty
        {certificateAuthorityArns :: ValueList Text
certificateAuthorityArns = PropertyType
  "CertificateAuthorityArns" TlsValidationContextAcmTrustProperty
ValueList Text
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}