interface VirtualGatewayBaseProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.AppMesh.VirtualGatewayBaseProps |
Java | software.amazon.awscdk.services.appmesh.VirtualGatewayBaseProps |
Python | aws_cdk.aws_appmesh.VirtualGatewayBaseProps |
TypeScript (source) | @aws-cdk/aws-appmesh » VirtualGatewayBaseProps |
Basic configuration properties for a VirtualGateway.
Example
declare const mesh: appmesh.Mesh;
const gateway = mesh.addVirtualGateway('gateway', {
accessLog: appmesh.AccessLog.fromFilePath('/dev/stdout'),
virtualGatewayName: 'virtualGateway',
listeners: [appmesh.VirtualGatewayListener.http({
port: 443,
healthCheck: appmesh.HealthCheck.http({
interval: cdk.Duration.seconds(10),
}),
})],
});
Properties
Name | Type | Description |
---|---|---|
access | Access | Access Logging Configuration for the VirtualGateway. |
backend | Backend | Default Configuration Virtual Node uses to communicate with Virtual Service. |
listeners? | Virtual [] | Listeners for the VirtualGateway. |
virtual | string | Name of the VirtualGateway. |
accessLog?
Type:
Access
(optional, default: no access logging)
Access Logging Configuration for the VirtualGateway.
backendDefaults?
Type:
Backend
(optional, default: No Config)
Default Configuration Virtual Node uses to communicate with Virtual Service.
listeners?
Type:
Virtual
[]
(optional, default: Single HTTP listener on port 8080)
Listeners for the VirtualGateway.
Only one is supported.
virtualGatewayName?
Type:
string
(optional, default: A name is automatically determined)
Name of the VirtualGateway.