Interface MeshProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
MeshProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2025-01-07T10:36:02.059Z")
@Stability(Stable)
public interface MeshProps
extends software.amazon.jsii.JsiiSerializable
The set of properties used when creating a Mesh.
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
-
Method Summary
Modifier and TypeMethodDescriptionstatic MeshProps.Builder
builder()
default MeshFilterType
Egress filter to be applied to the Mesh.default String
The name of the Mesh being defined.default MeshServiceDiscovery
Defines how upstream clients will discover VirtualNodes in the Mesh.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEgressFilter
Egress filter to be applied to the Mesh.Default: DROP_ALL
-
getMeshName
The name of the Mesh being defined.Default: - A name is automatically generated
-
getServiceDiscovery
Defines how upstream clients will discover VirtualNodes in the Mesh.Default: - No Service Discovery
-
builder
- Returns:
- a
MeshProps.Builder
ofMeshProps
-