Interface CfnMesh.EgressFilterProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMesh.EgressFilterProperty.Jsii$Proxy
- Enclosing class:
CfnMesh
@Stability(Stable)
public static interface CfnMesh.EgressFilterProperty
extends software.amazon.jsii.JsiiSerializable
An object that represents the egress filter rules for a service mesh.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appmesh.*;
EgressFilterProperty egressFilterProperty = EgressFilterProperty.builder()
.type("type")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnMesh.EgressFilterPropertystatic final classAn implementation forCfnMesh.EgressFilterProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getType
The egress filter type.By default, the type is
DROP_ALL, which allows egress only from virtual nodes to other defined resources in the service mesh (and any traffic to*.amazonaws.comfor AWS API calls). You can set the egress filter type toALLOW_ALLto allow egress to any endpoint inside or outside of the service mesh.If you specify any backends on a virtual node when using
ALLOW_ALL, you must specifiy all egress for that virtual node as backends. Otherwise,ALLOW_ALLwill no longer work for that virtual node.- See Also:
-
builder
-