interface VirtualGatewayClientPolicyTlsProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.AppMesh.CfnVirtualGateway.VirtualGatewayClientPolicyTlsProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsappmesh#CfnVirtualGateway_VirtualGatewayClientPolicyTlsProperty |
Java | software.amazon.awscdk.services.appmesh.CfnVirtualGateway.VirtualGatewayClientPolicyTlsProperty |
Python | aws_cdk.aws_appmesh.CfnVirtualGateway.VirtualGatewayClientPolicyTlsProperty |
TypeScript | aws-cdk-lib » aws_appmesh » CfnVirtualGateway » VirtualGatewayClientPolicyTlsProperty |
An object that represents a Transport Layer Security (TLS) client policy.
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 virtualGatewayClientPolicyTlsProperty: appmesh.CfnVirtualGateway.VirtualGatewayClientPolicyTlsProperty = {
validation: {
trust: {
acm: {
certificateAuthorityArns: ['certificateAuthorityArns'],
},
file: {
certificateChain: 'certificateChain',
},
sds: {
secretName: 'secretName',
},
},
// the properties below are optional
subjectAlternativeNames: {
match: {
exact: ['exact'],
},
},
},
// the properties below are optional
certificate: {
file: {
certificateChain: 'certificateChain',
privateKey: 'privateKey',
},
sds: {
secretName: 'secretName',
},
},
enforce: false,
ports: [123],
};
Properties
Name | Type | Description |
---|---|---|
validation | IResolvable | Virtual | A reference to an object that represents a Transport Layer Security (TLS) validation context. |
certificate? | IResolvable | Virtual | A reference to an object that represents a virtual gateway's client's Transport Layer Security (TLS) certificate. |
enforce? | boolean | IResolvable | Whether the policy is enforced. |
ports? | IResolvable | number[] | One or more ports that the policy is enforced for. |
validation
Type:
IResolvable
|
Virtual
A reference to an object that represents a Transport Layer Security (TLS) validation context.
certificate?
Type:
IResolvable
|
Virtual
(optional)
A reference to an object that represents a virtual gateway's client's Transport Layer Security (TLS) certificate.
enforce?
Type:
boolean |
IResolvable
(optional)
Whether the policy is enforced.
The default is True
, if a value isn't specified.
ports?
Type:
IResolvable
| number[]
(optional)
One or more ports that the policy is enforced for.