Show / Hide Table of Contents

Class LifecycleHookState

Inheritance
System.Object
InputArgs
ResourceArgs
LifecycleHookState
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.AutoScaling
Assembly: Pulumi.Aws.dll
Syntax
public sealed class LifecycleHookState : ResourceArgs

Constructors

View Source

LifecycleHookState()

Declaration
public LifecycleHookState()

Properties

View Source

AutoscalingGroupName

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>
View Source

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>
View Source

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>
View Source

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>
View Source

Name

The name of the lifecycle hook.

Declaration
public Input<string> Name { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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>
View Source

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>
View Source

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>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.