Skip to content
v2.273.0

ListenerTlsProperty Struct ​

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

Example ​

ts
// 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 ​

certificateIResolvable | CfnVirtualNode.ListenerTlsCertificatePropertycertificatetyping.Union[IResolvable, ListenerTlsCertificateProperty]certificateIResolvableCertificateIResolvableCertificateinterface{}required#
A reference to an object that represents a listener's Transport Layer Security (TLS) certificate.
modestringmodestrmodeStringModestringMode*stringrequired#
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.
A reference to an object that represents a listener's Transport Layer Security (TLS) validation context.