LifecycleHookArgs

data class LifecycleHookArgs(val defaultResult: Output<String>? = null, val heartbeatTimeout: Output<Int>? = null, val lifecycleTransition: Output<String>? = null, val name: Output<String>? = null, val notificationArn: Output<String>? = null, val notificationMetadata: Output<String>? = null, val scalingGroupId: Output<String>? = null) : ConvertibleToJava<LifecycleHookArgs>

Import

Ess lifecycle hook can be imported using the id, e.g.

$ pulumi import alicloud:ess/lifecycleHook:LifecycleHook example ash-l12345

Constructors

Link copied to clipboard
fun LifecycleHookArgs(defaultResult: Output<String>? = null, heartbeatTimeout: Output<Int>? = null, lifecycleTransition: Output<String>? = null, name: Output<String>? = null, notificationArn: Output<String>? = null, notificationMetadata: Output<String>? = null, scalingGroupId: Output<String>? = null)

Functions

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

Properties

Link copied to clipboard
val defaultResult: Output<String>? = null

Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses. Applicable value: CONTINUE, ABANDON, ROLLBACK, default value: CONTINUE.

Link copied to clipboard
val heartbeatTimeout: Output<Int>? = null

Defines the amount of time, in seconds, that can elapse before the lifecycle hook times out. When the lifecycle hook times out, Auto Scaling performs the action defined in the default_result parameter. Default value: 600.

Link copied to clipboard
val lifecycleTransition: Output<String>? = null

Type of Scaling activity attached to lifecycle hook. Supported value: SCALE_OUT, SCALE_IN.

Link copied to clipboard
val name: Output<String>? = null

The name of the lifecycle hook, which must contain 2-64 characters (English or Chinese), starting with numbers, English letters or Chinese characters, and can contain number, underscores _, hypens -, and decimal point .. If this parameter value is not specified, the default value is lifecycle hook id.

Link copied to clipboard
val notificationArn: Output<String>? = null

The Arn of notification target.

Link copied to clipboard
val notificationMetadata: Output<String>? = null

Additional information that you want to include when Auto Scaling sends a message to the notification target.

Link copied to clipboard
val scalingGroupId: Output<String>? = null

The ID of the Auto Scaling group to which you want to assign the lifecycle hook.