Skip to content

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.

  • parentResourceId

    The 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 resourceId in 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 in parentResourceId wasn't part of this lifecycle execution, the response contains an empty list.

  • maxResults

    The maximum number of items to return in a single request.

  • nextToken

    A token to specify where to start paginating. Use the nextToken value 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"
)

Request syntax

svc$list_lifecycle_execution_resources(
  lifecycleExecutionId = "string",
  parentResourceId = "string",
  maxResults = 123,
  nextToken = "string"
)