Skip to content

Retrieves the lifecycle runtime history for the specified resource

Description

Retrieves the lifecycle runtime history for the specified resource.

Usage

imagebuilder_list_lifecycle_executions(maxResults, nextToken,
  resourceArn)

Arguments

  • 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.

  • resourceArn

    [required] The Amazon Resource Name (ARN) of the resource for which to list lifecycle executions. Specify a lifecycle policy ARN to list its executions, or an image build version ARN to list the executions that start_resource_state_update started for that image. Other ARN types aren't valid for this request.

Value

A list with the following syntax:

list(
  lifecycleExecutions = list(
    list(
      lifecycleExecutionId = "string",
      lifecyclePolicyArn = "string",
      resourcesImpactedSummary = list(
        hasImpactedResources = TRUE|FALSE
      ),
      state = list(
        status = "IN_PROGRESS"|"CANCELLED"|"CANCELLING"|"FAILED"|"SUCCESS"|"PENDING",
        reason = "string"
      ),
      startTime = as.POSIXct(
        "2015-01-01"
      ),
      endTime = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_lifecycle_executions(
  maxResults = 123,
  nextToken = "string",
  resourceArn = "string"
)