Put lifecycle hook
PUT /v2/alm/stack/{stack_id}/lifecyclehookParameters
Type
Required
Details
heartbeat
string
no
The time in seconds of which lifecyclehook will apply to instances (in the same autoscaling group) when terminates on scale-in or restarts. Default value is 3600.
Request header:
Authorization: Bearer eyJ0eXAiOiJ83fjQb3LzMeXzQfME
Content-Type: application/jsonRequest body:
{
"heartbeat":3600
}Example response:
HTTP/1.1 200 OK
{
"status":"success"
}Last updated
Was this helpful?