Package org.cdk8s.plus24
Interface PodConnectionsAllowFromOptions
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PodConnectionsAllowFromOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.63.2 (build a8a8833)", date="2022-08-08T02:54:19.290Z") @Stability(Stable) public interface PodConnectionsAllowFromOptions extends software.amazon.jsii.JsiiSerializable
Options for `PodConnections.allowFrom`.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPodConnectionsAllowFromOptions.BuilderA builder forPodConnectionsAllowFromOptionsstatic classPodConnectionsAllowFromOptions.Jsii$ProxyAn implementation forPodConnectionsAllowFromOptions
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static PodConnectionsAllowFromOptions.Builderbuilder()default PodConnectionsIsolationgetIsolation()Which isolation should be applied to establish the connection.default List<NetworkPolicyPort>getPorts()Ports to allow incoming traffic to.
-
-
-
Method Detail
-
getIsolation
@Stability(Stable) @Nullable default PodConnectionsIsolation getIsolation()
Which isolation should be applied to establish the connection.Default: - unset, isolates both the pod and the peer.
-
getPorts
@Stability(Stable) @Nullable default List<NetworkPolicyPort> getPorts()
Ports to allow incoming traffic to.Default: - The pod ports.
-
builder
@Stability(Stable) static PodConnectionsAllowFromOptions.Builder builder()
-
-