Package org.cdk8s.plus24
Interface PodConnectionsAllowToOptions
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PodConnectionsAllowToOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.65.0 (build 7a02b7f)", date="2022-08-21T02:57:21.477Z") @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 class
PodConnectionsAllowToOptions.Builder
A builder forPodConnectionsAllowToOptions
static class
PodConnectionsAllowToOptions.Jsii$Proxy
An implementation forPodConnectionsAllowToOptions
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static PodConnectionsAllowToOptions.Builder
builder()
default PodConnectionsIsolation
getIsolation()
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()
-
-