Interface VirtualRouterProps

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

@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)", date="2024-10-05T03:43:38.722Z") @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();