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