VirtualServiceBackendOptions

class aws_cdk.aws_appmesh.VirtualServiceBackendOptions(*, tls_client_policy=None)

Bases: object

Represents the properties needed to define a Virtual Service backend.

Parameters

tls_client_policy (Optional[TlsClientPolicy]) – TLS properties for Client policy for the backend. Default: - none

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_appmesh as appmesh

# mutual_tls_certificate is of type MutualTlsCertificate
# subject_alternative_names is of type SubjectAlternativeNames
# tls_validation_trust is of type TlsValidationTrust

virtual_service_backend_options = appmesh.VirtualServiceBackendOptions(
    tls_client_policy=appmesh.TlsClientPolicy(
        validation=appmesh.TlsValidation(
            trust=tls_validation_trust,

            # the properties below are optional
            subject_alternative_names=subject_alternative_names
        ),

        # the properties below are optional
        enforce=False,
        mutual_tls_certificate=mutual_tls_certificate,
        ports=[123]
    )
)

Attributes

tls_client_policy

TLS properties for Client policy for the backend.

Default
  • none

Return type

Optional[TlsClientPolicy]