AWS Fundamentals Logo
AWS Fundamentals
L2 Construct

VirtualRouter

Import

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

Or use the module namespace:

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

Properties

Configuration passed to the constructor as VirtualRouterProps.

meshRequired
IMesh

The Mesh which the VirtualRouter belongs to.

2 properties inherited from VirtualRouterBaseProps
listenersOptionalinherited from VirtualRouterBaseProps
VirtualRouterListener[]

Listener specification for the VirtualRouter.

Default: - A listener on HTTP port 8080

virtualRouterNameOptionalinherited from VirtualRouterBaseProps
string

The name of the VirtualRouter.

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