lifecycle_hooks
Retrieves a list of lifecycle_hooks
in a region
Overview
Name | lifecycle_hooks |
Type | Resource |
Description | lifecycle_hooks |
Id | awscc.autoscaling.lifecycle_hooks |
Fields
Name | Datatype | Description |
---|---|---|
auto_scaling_group_name | string | The name of the Auto Scaling group for the lifecycle hook. |
lifecycle_hook_name | string | The name of the lifecycle hook. |
region | string | AWS 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