@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:48.630Z") public enum MeshFilterType extends java.lang.Enum<MeshFilterType>
Default: DROP_ALL
Example:
Mesh mesh = Mesh.Builder.create(this, "AppMesh") .meshName("myAwsMesh") .egressFilter(MeshFilterType.ALLOW_ALL) .build();
Enum Constant and Description |
---|
ALLOW_ALL
Allows all outbound traffic.
|
DROP_ALL
Allows traffic only to other resources inside the mesh, or API calls to amazon resources.
|
Modifier and Type | Method and Description |
---|---|
static MeshFilterType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MeshFilterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MeshFilterType ALLOW_ALL
public static final MeshFilterType DROP_ALL
public static MeshFilterType[] values()
for (MeshFilterType c : MeshFilterType.values()) System.out.println(c);
public static MeshFilterType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null