Lists resources that the runtime instance of the image lifecycle identified for lifecycle actions¶
Description¶
Lists resources that the runtime instance of the image lifecycle identified for lifecycle actions.
Usage¶
imagebuilder_list_lifecycle_execution_resources(lifecycleExecutionId,
parentResourceId, maxResults, nextToken)
Arguments¶
-
lifecycleExecutionId[required] The unique identifier for a runtime instance of the lifecycle policy.
-
parentResourceIdThe Amazon Resource Name (ARN) of an image build version to get the output resources for, such as AMIs or container images in Amazon ECR. You can get this value from the
resourceIdin the top-level response. If you leave this property empty, the response lists the Image Builder resources that the lifecycle execution identified for lifecycle actions. If the image build version that you specify inparentResourceIdwasn't part of this lifecycle execution, the response contains an empty list. -
maxResultsThe maximum number of items to return in a single request.
-
nextTokenA token to specify where to start paginating. Use the
nextTokenvalue from a previously truncated response.
Value¶
A list with the following syntax:
list(
lifecycleExecutionId = "string",
lifecycleExecutionState = list(
status = "IN_PROGRESS"|"CANCELLED"|"CANCELLING"|"FAILED"|"SUCCESS"|"PENDING",
reason = "string"
),
resources = list(
list(
accountId = "string",
resourceId = "string",
state = list(
status = "FAILED"|"IN_PROGRESS"|"SKIPPED"|"SUCCESS",
reason = "string"
),
action = list(
name = "AVAILABLE"|"DELETE"|"DEPRECATE"|"DISABLE",
reason = "string"
),
region = "string",
snapshots = list(
list(
snapshotId = "string",
state = list(
status = "FAILED"|"IN_PROGRESS"|"SKIPPED"|"SUCCESS",
reason = "string"
)
)
),
imageUris = list(
"string"
),
startTime = as.POSIXct(
"2015-01-01"
),
endTime = as.POSIXct(
"2015-01-01"
)
)
),
nextToken = "string"
)