interface VirtualGatewayListenerTlsProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.AppMesh.CfnVirtualGateway.VirtualGatewayListenerTlsProperty |
![]() | software.amazon.awscdk.services.appmesh.CfnVirtualGateway.VirtualGatewayListenerTlsProperty |
![]() | aws_cdk.aws_appmesh.CfnVirtualGateway.VirtualGatewayListenerTlsProperty |
![]() | @aws-cdk/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 * as appmesh from '@aws-cdk/aws-appmesh';
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
Name | Type | Description |
---|---|---|
certificate | IResolvable | Virtual | An object that represents a Transport Layer Security (TLS) certificate. |
mode | string | Specify one of the following modes. |
validation? | IResolvable | Virtual | A reference to an object that represents a virtual gateway's listener's Transport Layer Security (TLS) validation context. |
certificate
Type:
IResolvable
|
Virtual
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
|
Virtual
(optional)
A reference to an object that represents a virtual gateway's listener's Transport Layer Security (TLS) validation context.