LifecycleExecutionResource - EC2 Image Builder

LifecycleExecutionResource

Contains details for a resource that the runtime instance of the lifecycle policy identified for action.

Contents

accountId

The account that owns the impacted resource.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Required: No

action

The action to take for the identified resource.

Type: LifecycleExecutionResourceAction object

Required: No

endTime

The ending timestamp from the lifecycle action that was applied to the resource.

Type: Timestamp

Required: No

imageUris

For an impacted container image, this identifies a list of URIs for associated container images distributed to ECR repositories.

Type: Array of strings

Length Constraints: Minimum length of 1. Maximum length of 1024.

Required: No

region

The AWS Region where the lifecycle execution resource is stored.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Required: No

resourceId

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

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Required: No

snapshots

A list of associated resource snapshots for the impacted resource if it’s an AMI.

Type: Array of LifecycleExecutionSnapshotResource objects

Required: No

startTime

The starting timestamp from the lifecycle action that was applied to the resource.

Type: Timestamp

Required: No

state

The runtime state for the lifecycle execution.

Type: LifecycleExecutionResourceState object

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: