LifecycleHandlerArgs

data class LifecycleHandlerArgs(val exec: Output<ExecActionArgs>? = null, val httpGet: Output<HTTPGetActionArgs>? = null, val tcpSocket: Output<TCPSocketActionArgs>? = null) : ConvertibleToJava<LifecycleHandlerArgs>

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.

Constructors

Link copied to clipboard
constructor(exec: Output<ExecActionArgs>? = null, httpGet: Output<HTTPGetActionArgs>? = null, tcpSocket: Output<TCPSocketActionArgs>? = null)

Properties

Link copied to clipboard
val exec: Output<ExecActionArgs>? = null

Exec specifies the action to take.

Link copied to clipboard
val httpGet: Output<HTTPGetActionArgs>? = null

HTTPGet specifies the http request to perform.

Link copied to clipboard
val tcpSocket: Output<TCPSocketActionArgs>? = null

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.

Functions

Link copied to clipboard
open override fun toJava(): LifecycleHandlerArgs