Interface TcpSocketAction

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

    @Generated(value="jsii-pacmak/1.80.0 (build bce6a1d)",
               date="2023-05-05T16:22:34.273Z")
    @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.