lifecycle_execution_resources
Creates, updates, deletes, gets or lists a lifecycle_execution_resources resource.
Overview
| Name | lifecycle_execution_resources |
| Type | Resource |
| Id | aws.imagebuilder.lifecycle_execution_resources |
Fields
The following fields are returned by SELECT queries:
- list_lifecycle_execution_resources
| Name | Datatype | Description |
|---|---|---|
account_id | string | The account that owns the impacted resource. |
action | object | The action to take for the identified resource. |
end_time | string (date-time) | The ending timestamp from the lifecycle action that was applied to the resource. |
image_uris | array | For an impacted container image, this identifies a list of URIs for associated container images distributed to ECR repositories. |
region | string | The Amazon Web Services Region where the lifecycle execution resource is stored. |
resource_id | string | Identifies the impacted resource. The resource ID depends on the type of resource, as follows. Image Builder image resources: Amazon Resource Name (ARN) Distributed AMIs: AMI ID Container images distributed to an ECR repository: image URI or SHA Digest |
snapshots | array | A list of associated resource snapshots for the impacted resource if it’s an AMI. |
start_time | string (date-time) | The starting timestamp from the lifecycle action that was applied to the resource. |
state | object | The runtime state for the lifecycle execution. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_lifecycle_execution_resources | select | region | List resources that the runtime instance of the image lifecycle identified for lifecycle actions. |
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_lifecycle_execution_resources
List resources that the runtime instance of the image lifecycle identified for lifecycle actions.
SELECT
account_id,
action,
end_time,
image_uris,
region,
resource_id,
snapshots,
start_time,
state
FROM aws.imagebuilder.lifecycle_execution_resources
WHERE region = '{{ region }}' -- required
;