automation_event_steps
Creates, updates, deletes, gets or lists an automation_event_steps resource.
Overview
| Name | automation_event_steps |
| Type | Resource |
| Id | aws.compute_optimizer_automation.automation_event_steps |
Fields
The following fields are returned by SELECT queries:
- list_automation_event_steps
| Name | Datatype | Description |
|---|---|---|
completed_timestamp | string (date-time) | The timestamp when this automation event step completed execution. |
estimated_monthly_savings | object | Contains information about estimated monthly cost savings. |
event_id | string | The ID of the automation event this step belongs to. (pattern: <code>[0-9A-Za-z]{16}</code>) |
resource_id | string | The unique identifier of the resource being acted upon in this step. (pattern: <code>[a-zA-Z0-9_.-]+</code>) |
start_timestamp | string (date-time) | The timestamp when this automation event step started execution. |
step_id | string | The unique identifier for this step. (pattern: <code>[0-9A-Za-z]{16}</code>) |
step_status | string | The current status of the step. (Ready, InProgress, Complete, Failed) |
step_type | string | The type of step. (CreateEbsSnapshot, DeleteEbsVolume, ModifyEbsVolume, CreateEbsVolume) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_automation_event_steps | select | region | Lists the steps for a specific automation event. You can only list steps for events created within the past year. |
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
- list_automation_event_steps
Lists the steps for a specific automation event. You can only list steps for events created within the past year.
SELECT
completed_timestamp,
estimated_monthly_savings,
event_id,
resource_id,
start_timestamp,
step_id,
step_status,
step_type
FROM aws.compute_optimizer_automation.automation_event_steps
WHERE region = '{{ region }}' -- required
;