CmdID

CmdID / aws / aws autoscaling

aws autoscaling put-lifecycle-hook

Creates or updates a lifecycle hook for the specified Auto Scaling group. AWS CLI reference

8 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

8 in the AWS CLI reference
--auto-scaling-group-nameThe name of the Auto Scaling group.
--default-resultThe action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an unexpected failure occurs.
--heartbeat-timeoutThe maximum time, in seconds, that can elapse before the lifecycle hook times out.
--lifecycle-hook-nameThe name of the lifecycle hook.
--lifecycle-transitionThe lifecycle transition.
--notification-metadataAdditional information that you want to include any time Amazon EC2 Auto Scaling sends a message to the notification target.
--notification-target-arnThe Amazon Resource Name (ARN) of the notification target that Amazon EC2 Auto Scaling uses to notify you when an instance is in a wait state for the lifecycle hook.
--role-arnThe ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target.