aws-cdk-lib.aws_appmesh.CfnVirtualGateway.VirtualGatewayListenerTlsProperty

interface VirtualGatewayListenerTlsProperty

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

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 virtualGatewayListenerTlsProperty: appmesh.CfnVirtualGateway.VirtualGatewayListenerTlsProperty = {
  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 | VirtualGatewayListenerTlsCertificatePropertyAn object that represents a Transport Layer Security (TLS) certificate.
modestringSpecify one of the following modes.
validation?IResolvable | VirtualGatewayListenerTlsValidationContextPropertyA reference to an object that represents a virtual gateway's listener's Transport Layer Security (TLS) validation context.

certificate

Type: IResolvable | VirtualGatewayListenerTlsCertificateProperty

An object that represents a 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 | VirtualGatewayListenerTlsValidationContextProperty (optional)

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