Skip to main content

lifecycle_hooks

Retrieves a list of lifecycle_hooks in a region

Overview

Namelifecycle_hooks
TypeResource
Descriptionlifecycle_hooks
Idawscc.autoscaling.lifecycle_hooks

Fields

NameDatatypeDescription
auto_scaling_group_namestringThe name of the Auto Scaling group for the lifecycle hook.
lifecycle_hook_namestringThe name of the lifecycle hook.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
auto_scaling_group_name,
lifecycle_hook_name
FROM awscc.autoscaling.lifecycle_hooks
WHERE region = 'us-east-1'

Permissions

To operate on the lifecycle_hooks resource, the following permissions are required:

Create

autoscaling:PutLifecycleHook,
autoscaling:DescribeLifecycleHooks,
iam:PassRole

List

autoscaling:DescribeLifecycleHooks