@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.567Z") @Stability(value=Stable) public interface MeshProps extends software.amazon.jsii.JsiiSerializable
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 |
MeshProps.Builder
A builder for
MeshProps |
static class |
MeshProps.Jsii$Proxy
An implementation for
MeshProps |
| Modifier and Type | Method and Description |
|---|---|
static MeshProps.Builder |
builder() |
default MeshFilterType |
getEgressFilter()
Egress filter to be applied to the Mesh.
|
default String |
getMeshName()
The name of the Mesh being defined.
|
default MeshServiceDiscovery |
getServiceDiscovery()
Defines how upstream clients will discover VirtualNodes in the Mesh.
|
@Stability(value=Stable) @Nullable default MeshFilterType getEgressFilter()
Default: DROP_ALL
@Stability(value=Stable) @Nullable default String getMeshName()
Default: - A name is automatically generated
@Stability(value=Stable) @Nullable default MeshServiceDiscovery getServiceDiscovery()
Default: - No Service Discovery
@Stability(value=Stable) static MeshProps.Builder builder()
MeshProps.Builder of MeshPropsCopyright © 2022. All rights reserved.