aws-cdk-lib.aws_appmesh.CfnVirtualNode.ListenerTlsProperty

interface ListenerTlsProperty

LanguageType name
.NETAmazon.CDK.AWS.AppMesh.CfnVirtualNode.ListenerTlsProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsappmesh#CfnVirtualNode_ListenerTlsProperty
Javasoftware.amazon.awscdk.services.appmesh.CfnVirtualNode.ListenerTlsProperty
Pythonaws_cdk.aws_appmesh.CfnVirtualNode.ListenerTlsProperty
TypeScript aws-cdk-lib » aws_appmesh » CfnVirtualNode » ListenerTlsProperty

An object that represents the Transport Layer Security (TLS) properties for a listener.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appmesh as appmesh } from 'aws-cdk-lib';
const listenerTlsProperty: appmesh.CfnVirtualNode.ListenerTlsProperty = {
  certificate: {
    acm: {
      certificateArn: 'certificateArn',
    },
    file: {
      certificateChain: 'certificateChain',
      privateKey: 'privateKey',
    },
    sds: {
      secretName: 'secretName',
    },
  },
  mode: 'mode',

  // the properties below are optional
  validation: {
    trust: {
      file: {
        certificateChain: 'certificateChain',
      },
      sds: {
        secretName: 'secretName',
      },
    },

    // the properties below are optional
    subjectAlternativeNames: {
      match: {
        exact: ['exact'],
      },
    },
  },
};

Properties

NameTypeDescription
certificateIResolvable | ListenerTlsCertificatePropertyA reference to an object that represents a listener's Transport Layer Security (TLS) certificate.
modestringSpecify one of the following modes.
validation?IResolvable | ListenerTlsValidationContextPropertyA reference to an object that represents a listener's Transport Layer Security (TLS) validation context.

certificate

Type: IResolvable | ListenerTlsCertificateProperty

A reference to an object that represents a listener's Transport Layer Security (TLS) certificate.


mode

Type: string

Specify one of the following modes.

  • ** STRICT – Listener only accepts connections with TLS enabled.
  • ** PERMISSIVE – Listener accepts connections with or without TLS enabled.
  • ** DISABLED – Listener only accepts connections without TLS.

validation?

Type: IResolvable | ListenerTlsValidationContextProperty (optional)

A reference to an object that represents a listener's Transport Layer Security (TLS) validation context.