Interface TcpSocketAction

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

    @Generated(value="jsii-pacmak/1.88.0 (build eaabd08)",
               date="2023-09-11T06:17:58.840Z")
    @Stability(Stable)
    public interface TcpSocketAction
    extends software.amazon.jsii.JsiiSerializable
    TCPSocketAction describes an action based on opening a socket.
    • Method Detail

      • getPort

        @Stability(Stable)
        @NotNull
        IntOrString getPort()
        Number or name of the port to access on the container.

        Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.

      • getHost

        @Stability(Stable)
        @Nullable
        default String getHost()
        Optional: Host name to connect to, defaults to the pod IP.