interface VirtualGatewayListenerConfig
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.AppMesh.VirtualGatewayListenerConfig |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsappmesh#VirtualGatewayListenerConfig |
Java | software.amazon.awscdk.services.appmesh.VirtualGatewayListenerConfig |
Python | aws_cdk.aws_appmesh.VirtualGatewayListenerConfig |
TypeScript (source) | aws-cdk-lib » aws_appmesh » VirtualGatewayListenerConfig |
Obtainable from
Virtual
.bind()
Properties for a VirtualGateway 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 virtualGatewayListenerConfig: appmesh.VirtualGatewayListenerConfig = {
listener: {
portMapping: {
port: 123,
protocol: 'protocol',
},
// the properties below are optional
connectionPool: {
grpc: {
maxRequests: 123,
},
http: {
maxConnections: 123,
// the properties below are optional
maxPendingRequests: 123,
},
http2: {
maxRequests: 123,
},
},
healthCheck: {
healthyThreshold: 123,
intervalMillis: 123,
protocol: 'protocol',
timeoutMillis: 123,
unhealthyThreshold: 123,
// the properties below are optional
path: 'path',
port: 123,
},
tls: {
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 |
---|---|---|
listener | Virtual | Single listener config for a VirtualGateway. |
listener
Type:
Virtual
Single listener config for a VirtualGateway.