Ends the timeout period of a lifecycle hook ahead of schedule so that Auto Scaling can proceed to the next action based on your business requirements.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ess:CompleteLifecycleAction |
update |
*ScalingGroup
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| LifecycleHookId |
string |
Yes |
The ID of the lifecycle hook. |
ash-bp14g3ee6bt3sc98**** |
| LifecycleActionToken |
string |
Yes |
The token of the lifecycle action. You can obtain this token from the Simple Message Queue (SMQ, formerly MNS) queue or topic specified for the lifecycle hook. |
aaaa-bbbbb-cccc-ddddd |
| LifecycleActionResult |
string |
No |
The action that you want Auto Scaling to perform after the lifecycle hook times out. Valid values:
If you do not specify this parameter, Auto Scaling performs the action specified by the If multiple lifecycle hooks exist in a scaling group and the lifecycle hooks are triggered at the same time, the following rules apply:
|
CONTINUE |
| ClientToken |
string |
No |
The client token used to ensure the idempotence of the request. You can use the client to generate the token, but the token must be unique across requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see Ensure idempotence. |
123e4567-e89b-12d3-a456-42665544**** |
| RegionId |
string |
No |
The region ID of the scaling group. |
cn-qingdao |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE**** |
Examples
Success response
JSON format
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.