Class: Aws::AppMesh::Types::ClientPolicyTls
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMesh::Types::ClientPolicyTls
- Defined in:
- gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb
Overview
Note:
When making an API call, you may pass ClientPolicyTls data as a hash:
{
certificate: {
file: {
certificate_chain: "FilePath", # required
private_key: "FilePath", # required
},
sds: {
secret_name: "SdsSecretName", # required
},
},
enforce: false,
ports: [1],
validation: { # required
subject_alternative_names: {
match: { # required
exact: ["SubjectAlternativeName"], # required
},
},
trust: { # required
acm: {
certificate_authority_arns: ["Arn"], # required
},
file: {
certificate_chain: "FilePath", # required
},
sds: {
secret_name: "SdsSecretName", # required
},
},
},
}
A reference to an object that represents a Transport Layer Security (TLS) client policy.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#certificate ⇒ Types::ClientTlsCertificate
A reference to an object that represents a client's TLS certificate.
-
#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
#certificate ⇒ Types::ClientTlsCertificate
A reference to an object that represents a client's TLS certificate.
326 327 328 329 330 331 332 333 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 326 class ClientPolicyTls < Struct.new( :certificate, :enforce, :ports, :validation) SENSITIVE = [] include Aws::Structure end |
#enforce ⇒ Boolean
Whether the policy is enforced. The default is True
, if a value
isn't specified.
326 327 328 329 330 331 332 333 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 326 class ClientPolicyTls < Struct.new( :certificate, :enforce, :ports, :validation) SENSITIVE = [] include Aws::Structure end |
#ports ⇒ Array<Integer>
One or more ports that the policy is enforced for.
326 327 328 329 330 331 332 333 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 326 class ClientPolicyTls < Struct.new( :certificate, :enforce, :ports, :validation) SENSITIVE = [] include Aws::Structure end |
#validation ⇒ Types::TlsValidationContext
A reference to an object that represents a TLS validation context.
326 327 328 329 330 331 332 333 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 326 class ClientPolicyTls < Struct.new( :certificate, :enforce, :ports, :validation) SENSITIVE = [] include Aws::Structure end |