TlsCertificateConfig

class aws_cdk.aws_appmesh.TlsCertificateConfig(*, tls_certificate)

Bases: object

A wrapper for the tls config returned by TlsCertificate.bind.

Parameters:

tls_certificate (Union[ListenerTlsCertificateProperty, Dict[str, Any]]) – The CFN shape for a TLS certificate.

ExampleMetadata:

fixture=_generated

Example:

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

tls_certificate_config = appmesh.TlsCertificateConfig(
    tls_certificate=appmesh.CfnVirtualNode.ListenerTlsCertificateProperty(
        acm=appmesh.CfnVirtualNode.ListenerTlsAcmCertificateProperty(
            certificate_arn="certificateArn"
        ),
        file=appmesh.CfnVirtualNode.ListenerTlsFileCertificateProperty(
            certificate_chain="certificateChain",
            private_key="privateKey"
        ),
        sds=appmesh.CfnVirtualNode.ListenerTlsSdsCertificateProperty(
            secret_name="secretName"
        )
    )
)

Attributes

tls_certificate

The CFN shape for a TLS certificate.