Put Lifecycle Hook

GET {{aws_auto_scaling_api_base_url}}/?AutoScalingGroupName&DefaultResult&HeartbeatTimeout&LifecycleHookName&LifecycleTransition&NotificationMetadata&NotificationTargetARN&RoleARN&Action=PutLifecycleHook

Request Params

KeyDatatypeRequiredDescription
AutoScalingGroupNamenullThe name of the Auto Scaling group.
DefaultResultnullDefines the action the Auto Scaling group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs. This parameter can be either CONTINUE or ABANDON. The default value is ABANDON.
HeartbeatTimeoutnullThe maximum time, in seconds, that can elapse before the lifecycle hook times out. The range is from 30 to 7200 seconds. The default value is 3600 seconds (1 hour).
LifecycleHookNamenullThe name of the lifecycle hook.
LifecycleTransitionnullThe instance state to which you want to attach the lifecycle hook. The valid values are:
NotificationMetadatanullAdditional information that you want to include any time Amazon EC2 Auto Scaling sends a message to the notification target.
NotificationTargetARNnullThe ARN of the notification target that Amazon EC2 Auto Scaling uses to notify you when an instance is in the transition state for the lifecycle hook. This target can be either an SQS queue or an SNS topic.
RoleARNnullThe ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target, for example, an Amazon SNS topic or an Amazon SQS queue.
Actionstring