Interface VirtualRouterProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable, VirtualRouterBaseProps
All Known Implementing Classes:
VirtualRouterProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-22T02:23:56.993Z") @Stability(Stable) public interface VirtualRouterProps extends software.amazon.jsii.JsiiSerializable, VirtualRouterBaseProps
The properties used when creating a new VirtualRouter.

Example:

 Stack infraStack;
 Stack appStack;
 Mesh mesh = Mesh.Builder.create(infraStack, "AppMesh")
         .meshName("myAwsMesh")
         .egressFilter(MeshFilterType.ALLOW_ALL)
         .build();
 // the VirtualRouter will belong to 'appStack',
 // even though the Mesh belongs to 'infraStack'
 VirtualRouter router = VirtualRouter.Builder.create(appStack, "router")
         .mesh(mesh) // notice that mesh is a required property when creating a router with the 'new' statement
         .listeners(List.of(VirtualRouterListener.http(8081)))
         .build();