Skip to main content

lifecycle_execution_resources

Creates, updates, deletes, gets or lists a lifecycle_execution_resources resource.

Overview

Namelifecycle_execution_resources
TypeResource
Idaws.imagebuilder.lifecycle_execution_resources

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
account_idstringThe account that owns the impacted resource.
actionobjectThe action to take for the identified resource.
end_timestring (date-time)The ending timestamp from the lifecycle action that was applied to the resource.
image_urisarrayFor an impacted container image, this identifies a list of URIs for associated container images distributed to ECR repositories.
regionstringThe Amazon Web Services Region where the lifecycle execution resource is stored.
resource_idstringIdentifies 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
snapshotsarrayA list of associated resource snapshots for the impacted resource if it’s an AMI.
start_timestring (date-time)The starting timestamp from the lifecycle action that was applied to the resource.
stateobjectThe runtime state for the lifecycle execution.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_lifecycle_execution_resourcesselectregionList 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

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
;