AWS Fundamentals Logo
AWS Fundamentals
L2 Construct

GatewayRoute

GatewayRoute represents a new or existing gateway route attached to a VirtualGateway and Mesh.

Import

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

Or use the module namespace:

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

Properties

Configuration passed to the constructor as GatewayRouteProps.

virtualGatewayRequired
IVirtualGateway

The VirtualGateway this GatewayRoute is associated with.

2 properties inherited from GatewayRouteBaseProps
routeSpecRequiredinherited from GatewayRouteBaseProps
GatewayRouteSpec

What protocol the route uses.

gatewayRouteNameOptionalinherited from GatewayRouteBaseProps
string

The name of the GatewayRoute.

Default: - an automatically generated name

Learn AWS the Practical Way

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

Subscribe to Newsletter