> For the complete documentation index, see [llms.txt](https://docs.alphaus.cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.alphaus.cloud/v2.0-english/api-reference/stacks/get-lifecycle-hook.md).

# Get lifecycle hook

{% code title="AWS only" %}

```
GET /v2/alm/stack/{stack_id}/lifecyclehook
```

{% endcode %}

Request header:

```
Authorization: Bearer eyJ0eXAiOiJ83fjQb3LzMeXzQfME
Content-Type: application/json
```

Example response:

```ruby
HTTP/1.1 200 OK

{
    "LifecycleTransition": "autoscaling:EC2_INSTANCE_TERMINATING",
    "GlobalTimeout": "172800",
    "LifecycleHookName": "mo-5447826c880e8-BHqH3h6XN-tk-lch-ists-tmnt",
    "HeartbeatTimeout": "3600"
}
```
