Package org.cdk8s.plus22
Interface PodConnectionsAllowToOptions
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PodConnectionsAllowToOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-11T03:06:35.085Z") @Stability(Stable) public interface PodConnectionsAllowToOptions extends software.amazon.jsii.JsiiSerializable
Options for `PodConnections.allowTo`.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPodConnectionsAllowToOptions.BuilderA builder forPodConnectionsAllowToOptionsstatic classPodConnectionsAllowToOptions.Jsii$ProxyAn implementation forPodConnectionsAllowToOptions
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static PodConnectionsAllowToOptions.Builderbuilder()default PodConnectionsIsolationgetIsolation()Which isolation should be applied to establish the connection.default List<NetworkPolicyPort>getPorts()Ports to allow outgoing 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 outgoing traffic to.Default: - If the peer is a managed pod, take its ports. Otherwise, all ports are allowed.
-
builder
@Stability(Stable) static PodConnectionsAllowToOptions.Builder builder()
-
-