interface VirtualGatewaySpecProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AppMesh.Mixins.CfnVirtualGatewayPropsMixin.VirtualGatewaySpecProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsappmesh/mixins#CfnVirtualGatewayPropsMixin_VirtualGatewaySpecProperty |
Java | software.amazon.awscdk.mixins.preview.services.appmesh.mixins.CfnVirtualGatewayPropsMixin.VirtualGatewaySpecProperty |
Python | aws_cdk.mixins_preview.aws_appmesh.mixins.CfnVirtualGatewayPropsMixin.VirtualGatewaySpecProperty |
TypeScript | @aws-cdk/mixins-preview » aws_appmesh » mixins » CfnVirtualGatewayPropsMixin » VirtualGatewaySpecProperty |
An object that represents the specification of a service mesh resource.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as appmesh_mixins } from '@aws-cdk/mixins-preview/aws-appmesh';
const virtualGatewaySpecProperty: appmesh_mixins.CfnVirtualGatewayPropsMixin.VirtualGatewaySpecProperty = {
backendDefaults: {
clientPolicy: {
tls: {
certificate: {
file: {
certificateChain: 'certificateChain',
privateKey: 'privateKey',
},
sds: {
secretName: 'secretName',
},
},
enforce: false,
ports: [123],
validation: {
subjectAlternativeNames: {
match: {
exact: ['exact'],
},
},
trust: {
acm: {
certificateAuthorityArns: ['certificateAuthorityArns'],
},
file: {
certificateChain: 'certificateChain',
},
sds: {
secretName: 'secretName',
},
},
},
},
},
},
listeners: [{
connectionPool: {
grpc: {
maxRequests: 123,
},
http: {
maxConnections: 123,
maxPendingRequests: 123,
},
http2: {
maxRequests: 123,
},
},
healthCheck: {
healthyThreshold: 123,
intervalMillis: 123,
path: 'path',
port: 123,
protocol: 'protocol',
timeoutMillis: 123,
unhealthyThreshold: 123,
},
portMapping: {
port: 123,
protocol: 'protocol',
},
tls: {
certificate: {
acm: {
certificateArn: 'certificateArn',
},
file: {
certificateChain: 'certificateChain',
privateKey: 'privateKey',
},
sds: {
secretName: 'secretName',
},
},
mode: 'mode',
validation: {
subjectAlternativeNames: {
match: {
exact: ['exact'],
},
},
trust: {
file: {
certificateChain: 'certificateChain',
},
sds: {
secretName: 'secretName',
},
},
},
},
}],
logging: {
accessLog: {
file: {
format: {
json: [{
key: 'key',
value: 'value',
}],
text: 'text',
},
path: 'path',
},
},
},
};
Properties
| Name | Type | Description |
|---|---|---|
| backend | IResolvable | Virtual | A reference to an object that represents the defaults for backends. |
| listeners? | IResolvable | (IResolvable | Virtual)[] | The listeners that the mesh endpoint is expected to receive inbound traffic from. |
| logging? | IResolvable | Virtual | An object that represents logging information. |
backendDefaults?
Type:
IResolvable | Virtual
(optional)
A reference to an object that represents the defaults for backends.
listeners?
Type:
IResolvable | (IResolvable | Virtual)[]
(optional)
The listeners that the mesh endpoint is expected to receive inbound traffic from.
You can specify one listener.
logging?
Type:
IResolvable | Virtual
(optional)
An object that represents logging information.

.NET
Go
Java
Python
TypeScript