You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::AppMesh::Types::ClientPolicyTls
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMesh::Types::ClientPolicyTls
- Defined in:
- (unknown)
Overview
Note:
When passing ClientPolicyTls as input to an Aws::Client method, you can use a vanilla Hash:
{
enforce: false,
ports: [1],
validation: { # required
trust: { # required
acm: {
certificate_authority_arns: ["Arn"], # required
},
file: {
certificate_chain: "FilePath", # required
},
},
},
}
A reference to an object that represents a Transport Layer Security (TLS) client policy.
Returned by:
Instance Attribute Summary collapse
-
#enforce ⇒ Boolean
Whether the policy is enforced.
-
#ports ⇒ Array<Integer>
One or more ports that the policy is enforced for.
-
#validation ⇒ Types::TlsValidationContext
A reference to an object that represents a TLS validation context.
Instance Attribute Details
#enforce ⇒ Boolean
Whether the policy is enforced. The default is True
, if a value isn\'t
specified.
#ports ⇒ Array<Integer>
One or more ports that the policy is enforced for.
#validation ⇒ Types::TlsValidationContext
A reference to an object that represents a TLS validation context.