Interface NetworkPolicyPortProps

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    NetworkPolicyPortProps.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.69.0 (build f656c31)",
               date="2022-10-15T03:08:35.121Z")
    @Stability(Stable)
    public interface NetworkPolicyPortProps
    extends software.amazon.jsii.JsiiSerializable
    Properties for `NetworkPolicyPort`.
    • Method Detail

      • getEndPort

        @Stability(Stable)
        @Nullable
        default Number getEndPort()
        End port (relative to `port`).

        Only applies if port is defined. Use this to specify a port range, rather that a specific one.

        Default: - not a port range.

      • getPort

        @Stability(Stable)
        @Nullable
        default Number getPort()
        Specific port number.

        Default: - all ports are allowed.

      • getProtocol

        @Stability(Stable)
        @Nullable
        default NetworkProtocol getProtocol()
        Protocol.

        Default: NetworkProtocol.TCP