Class: Aws::AppMesh::Types::ClientPolicyTls

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#certificateTypes::ClientTlsCertificate

A reference to an object that represents a client's TLS certificate.



320
321
322
323
324
325
326
327
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 320

class ClientPolicyTls < Struct.new(
  :certificate,
  :enforce,
  :ports,
  :validation)
  SENSITIVE = []
  include Aws::Structure
end

#enforceBoolean

Whether the policy is enforced. The default is True, if a value isn't specified.

Returns:

  • (Boolean)


320
321
322
323
324
325
326
327
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 320

class ClientPolicyTls < Struct.new(
  :certificate,
  :enforce,
  :ports,
  :validation)
  SENSITIVE = []
  include Aws::Structure
end

#portsArray<Integer>

One or more ports that the policy is enforced for.

Returns:

  • (Array<Integer>)


320
321
322
323
324
325
326
327
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 320

class ClientPolicyTls < Struct.new(
  :certificate,
  :enforce,
  :ports,
  :validation)
  SENSITIVE = []
  include Aws::Structure
end

#validationTypes::TlsValidationContext

A reference to an object that represents a TLS validation context.



320
321
322
323
324
325
326
327
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 320

class ClientPolicyTls < Struct.new(
  :certificate,
  :enforce,
  :ports,
  :validation)
  SENSITIVE = []
  include Aws::Structure
end