Interface LifecycleHandler

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

    @Generated(value="jsii-pacmak/1.69.0 (build f656c31)",
               date="2022-10-05T02:57:36.661Z")
    @Stability(Stable)
    public interface LifecycleHandler
    extends software.amazon.jsii.JsiiSerializable
    LifecycleHandler defines a specific action that should be taken in a lifecycle hook.

    One and only one of the fields, except TCPSocket must be specified.

    • Method Detail

      • getExec

        @Stability(Stable)
        @Nullable
        default ExecAction getExec()
        Exec specifies the action to take.
      • getHttpGet

        @Stability(Stable)
        @Nullable
        default HttpGetAction getHttpGet()
        HTTPGet specifies the http request to perform.
      • getTcpSocket

        @Stability(Stable)
        @Nullable
        default TcpSocketAction getTcpSocket()
        Deprecated.

        TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified.