TlsClientPolicy

class aws_cdk.aws_appmesh.TlsClientPolicy(*, validation, enforce=None, mutual_tls_certificate=None, ports=None)

Bases: object

Represents the properties needed to define client policy.

Parameters
  • validation (TlsValidation) – Represents the object for TLS validation context.

  • enforce (Optional[bool]) – Whether the policy is enforced. Default: true

  • mutual_tls_certificate (Optional[MutualTlsCertificate]) – Represents a client TLS certificate. The certificate will be sent only if the server requests it, enabling mutual TLS. Default: - client TLS certificate is not provided

  • ports (Optional[Sequence[Union[int, float]]]) – TLS is enforced on the ports specified here. If no ports are specified, TLS will be enforced on all the ports. Default: - all ports

Attributes

enforce

Whether the policy is enforced.

Default

true

Return type

Optional[bool]

mutual_tls_certificate

Represents a client TLS certificate.

The certificate will be sent only if the server requests it, enabling mutual TLS.

Default
  • client TLS certificate is not provided

Return type

Optional[MutualTlsCertificate]

ports

TLS is enforced on the ports specified here.

If no ports are specified, TLS will be enforced on all the ports.

Default
  • all ports

Return type

Optional[List[Union[int, float]]]

validation

Represents the object for TLS validation context.

Return type

TlsValidation