LifecycleHook

Import

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

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

Properties

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

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>?

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 id: Output<String>
Link copied to clipboard

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

Link copied to clipboard
val name: Output<String>

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>

The Arn of notification target.

Link copied to clipboard

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

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val scalingGroupId: Output<String>

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

Link copied to clipboard
val urn: Output<String>