Class LifecycleHookArgs
Inherited Members
Namespace: Pulumi.AliCloud.Ess
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class LifecycleHookArgs : ResourceArgs
Constructors
View SourceLifecycleHookArgs()
Declaration
public LifecycleHookArgs()
Properties
View SourceDefaultResult
Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses. Applicable value: CONTINUE, ABANDON, default value: CONTINUE.
Declaration
public Input<string> DefaultResult { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
HeartbeatTimeout
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.
Declaration
public Input<int> HeartbeatTimeout { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
LifecycleTransition
Type of Scaling activity attached to lifecycle hook. Supported value: SCALE_OUT, SCALE_IN.
Declaration
public Input<string> LifecycleTransition { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
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.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
NotificationArn
The Arn of notification target.
Declaration
public Input<string> NotificationArn { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
NotificationMetadata
Additional information that you want to include when Auto Scaling sends a message to the notification target.
Declaration
public Input<string> NotificationMetadata { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ScalingGroupId
The ID of the Auto Scaling group to which you want to assign the lifecycle hook.
Declaration
public Input<string> ScalingGroupId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |