aws-cdk-lib.aws_appmesh.VirtualGatewayBaseProps

interface VirtualGatewayBaseProps

LanguageType name
.NETAmazon.CDK.AWS.AppMesh.VirtualGatewayBaseProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsappmesh#VirtualGatewayBaseProps
Javasoftware.amazon.awscdk.services.appmesh.VirtualGatewayBaseProps
Pythonaws_cdk.aws_appmesh.VirtualGatewayBaseProps
TypeScript (source)aws-cdk-lib » 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: Duration.seconds(10),
      }),
  })],
});

Properties

NameTypeDescription
accessLog?AccessLogAccess Logging Configuration for the VirtualGateway.
backendDefaults?BackendDefaultsDefault Configuration Virtual Node uses to communicate with Virtual Service.
listeners?VirtualGatewayListener[]Listeners for the VirtualGateway.
virtualGatewayName?stringName of the VirtualGateway.

accessLog?

Type: AccessLog (optional, default: no access logging)

Access Logging Configuration for the VirtualGateway.


backendDefaults?

Type: BackendDefaults (optional, default: No Config)

Default Configuration Virtual Node uses to communicate with Virtual Service.


listeners?

Type: VirtualGatewayListener[] (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.