@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.588Z") @Stability(value=Stable) public interface VirtualRouterProps extends software.amazon.jsii.JsiiSerializable, VirtualRouterBaseProps
Example:
// Example automatically generated from non-compiling source. May contain errors.
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
VirtualRouterProps.Builder
A builder for
VirtualRouterProps |
static class |
VirtualRouterProps.Jsii$Proxy
An implementation for
VirtualRouterProps |
| Modifier and Type | Method and Description |
|---|---|
static VirtualRouterProps.Builder |
builder() |
IMesh |
getMesh()
The Mesh which the VirtualRouter belongs to.
|
getListeners, getVirtualRouterName@Stability(value=Stable) @NotNull IMesh getMesh()
@Stability(value=Stable) static VirtualRouterProps.Builder builder()
builder in interface VirtualRouterBasePropsVirtualRouterProps.Builder of VirtualRouterPropsCopyright © 2022. All rights reserved.