AWS Fundamentals Logo
AWS Fundamentals
L2 Construct

Route

Route represents a new or existing route attached to a VirtualRouter and Mesh.

Import

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

Or use the module namespace:

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

Properties

Configuration passed to the constructor as RouteProps.

meshRequired
IMesh

The service mesh to define the route in.

virtualRouterRequired
IVirtualRouter

The VirtualRouter the Route belongs to.

2 properties inherited from RouteBaseProps
routeSpecRequiredinherited from RouteBaseProps
RouteSpec

Protocol specific spec.

routeNameOptionalinherited from RouteBaseProps
string

The name of the route.

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