LifecycleHookState class

Input properties used for looking up and filtering LifecycleHook resources.

Constructors

LifecycleHookState({Input<String?>? autoscalingGroupName, Input<String?>? defaultResult, Input<int?>? heartbeatTimeout, Input<String?>? lifecycleTransition, Input<String?>? name, Input<String?>? notificationMetadata, Input<String?>? notificationTargetArn, Input<String?>? region, Input<String?>? roleArn})
Creates a new LifecycleHookState. autoscalingGroupName Name of the Auto Scaling group to which you want to assign the lifecycle hook 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. 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 lifecycleTransition Instance state to which you want to attach the lifecycle hook. For a list of lifecycle hook types, see describe-lifecycle-hook-types name Name of the lifecycle hook. notificationMetadata Contains additional information that you want to include any time Auto Scaling sends a message to the notification target. notificationTargetArn 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, an SNS topic, or a Lambda function. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. roleArn ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target.
const
LifecycleHookState.fromMap(Map<String, dynamic> map)
factory

Properties

autoscalingGroupName → Input<String?>?
Name of the Auto Scaling group to which you want to assign the lifecycle hook
final
defaultResult → Input<String?>?
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.
final
hashCode → int
The hash code for this object.
no setterinherited
heartbeatTimeout → Input<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 DefaultResult parameter
final
lifecycleTransition → Input<String?>?
Instance state to which you want to attach the lifecycle hook. For a list of lifecycle hook types, see describe-lifecycle-hook-types
final
name → Input<String?>?
Name of the lifecycle hook.
final
notificationMetadata → Input<String?>?
Contains additional information that you want to include any time Auto Scaling sends a message to the notification target.
final
notificationTargetArn → Input<String?>?
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, an SNS topic, or a Lambda function.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
roleArn → Input<String?>?
ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited