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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forVirtualRouterProps
static final class
An implementation forVirtualRouterProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic VirtualRouterProps.Builder
builder()
getMesh()
The Mesh which the VirtualRouter belongs to.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.appmesh.VirtualRouterBaseProps
getListeners, getVirtualRouterName
-
Method Details
-
getMesh
The Mesh which the VirtualRouter belongs to. -
builder
- Returns:
- a
VirtualRouterProps.Builder
ofVirtualRouterProps
-