Package org.cdk8s.plus23
Interface PodConnectionsAllowFromOptions
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PodConnectionsAllowFromOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.69.0 (build f656c31)", date="2022-10-15T03:08:35.137Z") @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 class
PodConnectionsAllowFromOptions.Builder
A builder forPodConnectionsAllowFromOptions
static class
PodConnectionsAllowFromOptions.Jsii$Proxy
An implementation forPodConnectionsAllowFromOptions
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static PodConnectionsAllowFromOptions.Builder
builder()
default PodConnectionsIsolation
getIsolation()
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()
-
-