interface ListenerTlsProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.AppMesh.CfnVirtualNode.ListenerTlsProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsappmesh#CfnVirtualNode_ListenerTlsProperty |
![]() | software.amazon.awscdk.services.appmesh.CfnVirtualNode.ListenerTlsProperty |
![]() | aws_cdk.aws_appmesh.CfnVirtualNode.ListenerTlsProperty |
![]() | 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
Name | Type | Description |
---|---|---|
certificate | IResolvable | Listener | A reference to an object that represents a listener's Transport Layer Security (TLS) certificate. |
mode | string | Specify one of the following modes. |
validation? | IResolvable | Listener | A reference to an object that represents a listener's Transport Layer Security (TLS) validation context. |
certificate
Type:
IResolvable
|
Listener
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
|
Listener
(optional)
A reference to an object that represents a listener's Transport Layer Security (TLS) validation context.