Interface NetworkPolicyPortProps

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

    @Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)",
               date="2022-09-16T03:33:03.797Z")
    @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