Skip to content

Retrieves runtime information for a lifecycle execution – a single run of lifecycle actions that a lifecycle policy or a StartResourceStateUpdate request started

Description

Retrieves runtime information for a lifecycle execution – a single run of lifecycle actions that a lifecycle policy or a start_resource_state_update request started.

Usage

imagebuilder_get_lifecycle_execution(lifecycleExecutionId)

Arguments

  • lifecycleExecutionId

    [required] The unique identifier for a runtime instance of the lifecycle policy.

Value

A list with the following syntax:

list(
  lifecycleExecution = 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"
    )
  )
)

Request syntax

svc$get_lifecycle_execution(
  lifecycleExecutionId = "string"
)