Class LifecycleHookState
Inherited Members
Namespace: Pulumi.Aws.AutoScaling
Assembly: Pulumi.Aws.dll
Syntax
public sealed class LifecycleHookState : ResourceArgs
Constructors
View SourceLifecycleHookState()
Declaration
public LifecycleHookState()
Properties
View SourceAutoscalingGroupName
The name of the Auto Scaling group to which you want to assign the lifecycle hook
Declaration
public Input<string> AutoscalingGroupName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
DefaultResult
Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs. The value for this parameter can be either CONTINUE or ABANDON. The default value for this parameter is ABANDON.
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 DefaultResult parameter
Declaration
public Input<int> HeartbeatTimeout { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
LifecycleTransition
The instance state to which you want to attach the lifecycle hook. For a list of lifecycle hook types, see describe-lifecycle-hook-types
Declaration
public Input<string> LifecycleTransition { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
The name of the lifecycle hook.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
NotificationMetadata
Contains additional information that you want to include any time Auto Scaling sends a message to the notification target.
Declaration
public Input<string> NotificationMetadata { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
NotificationTargetArn
The ARN of the notification target that Auto Scaling will use to notify you when an instance is in the transition state for the lifecycle hook. This ARN target can be either an SQS queue or an SNS topic.
Declaration
public Input<string> NotificationTargetArn { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
RoleArn
The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target.
Declaration
public Input<string> RoleArn { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |