lifecycle_hook_types
Creates, updates, deletes, gets or lists a lifecycle_hook_types resource.
Overview
| Name | lifecycle_hook_types |
| Type | Resource |
| Id | aws.autoscaling.lifecycle_hook_types |
Fields
The following fields are returned by SELECT queries:
- describe_lifecycle_hook_types
| Name | Datatype | Description |
|---|---|---|
lifecycle_hook_type | string | The lifecycle hook types. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_lifecycle_hook_types | select | region | Describes the available types of lifecycle hooks. The following hook types are supported: autoscaling:EC2_INSTANCE_LAUNCHING autoscaling:EC2_INSTANCE_TERMINATING |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- describe_lifecycle_hook_types
Describes the available types of lifecycle hooks. The following hook types are supported: autoscaling:EC2_INSTANCE_LAUNCHING autoscaling:EC2_INSTANCE_TERMINATING
SELECT
lifecycle_hook_type
FROM aws.autoscaling.lifecycle_hook_types
WHERE region = '{{ region }}' -- required
;