AWS Fundamentals Logo
AWS Fundamentals
L2 Construct

VirtualGateway

VirtualGateway represents a newly defined App Mesh Virtual Gateway. A virtual gateway allows resources that are outside of your mesh to communicate to resources that are inside of your mesh.

Import

import { VirtualGateway } from 'aws-cdk-lib/aws-appmesh';

Or use the module namespace:

import * as appmesh from 'aws-cdk-lib/aws-appmesh';
// appmesh.VirtualGateway

Properties

Configuration passed to the constructor as VirtualGatewayProps.

meshRequired
IMesh

The Mesh which the VirtualGateway belongs to.

4 properties inherited from VirtualGatewayBaseProps
accessLogOptionalinherited from VirtualGatewayBaseProps
AccessLog

Access Logging Configuration for the VirtualGateway.

Default: - no access logging

backendDefaultsOptionalinherited from VirtualGatewayBaseProps
BackendDefaults

Default Configuration Virtual Node uses to communicate with Virtual Service.

Default: - No Config

listenersOptionalinherited from VirtualGatewayBaseProps
VirtualGatewayListener[]

Listeners for the VirtualGateway. Only one is supported.

Default: - Single HTTP listener on port 8080

virtualGatewayNameOptionalinherited from VirtualGatewayBaseProps
string

Name of the VirtualGateway.

Default: - A name is automatically determined

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter