Put lifecycle hook

AWS only
PUT /v2/alm/stack/{stack_id}/lifecyclehook

Parameters

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/json

Request body:

{
    "heartbeat":3600
}

Example response:

HTTP/1.1 200 OK
{
    "status":"success"
}

Last updated