Package org.cdk8s.plus22
Interface INetworkPolicyPeer
-
- All Superinterfaces:
software.constructs.IConstruct,software.constructs.IDependable,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
INetworkPolicyPeer.Jsii$Default
- All Known Implementing Classes:
AbstractPod,DaemonSet,Deployment,INetworkPolicyPeer.Jsii$Proxy,Job,Namespace,Namespaces,NetworkPolicyIpBlock,Pod,StatefulSet,Workload
@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-11T03:06:35.008Z") @Stability(Stable) public interface INetworkPolicyPeer extends software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct
Describes a peer to allow traffic to/from.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceINetworkPolicyPeer.Jsii$DefaultInternal default implementation forINetworkPolicyPeer.static classINetworkPolicyPeer.Jsii$ProxyA proxy class which represents a concrete javascript instance of this type.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NetworkPolicyPeerConfigtoNetworkPolicyPeerConfig()Return the configuration of this peer.IPodSelectortoPodSelector()Convert the peer into a pod selector, if possible.
-
-
-
Method Detail
-
toNetworkPolicyPeerConfig
@Stability(Stable) @NotNull NetworkPolicyPeerConfig toNetworkPolicyPeerConfig()
Return the configuration of this peer.
-
toPodSelector
@Stability(Stable) @Nullable IPodSelector toPodSelector()
Convert the peer into a pod selector, if possible.
-
-