Skip to content

Get Lifecycle Execution

imagebuilder_get_lifecycle_execution R Documentation

Get the runtime information that was logged for a specific runtime instance of the lifecycle policy

Description

Get the runtime information that was logged for a specific runtime instance of the lifecycle policy.

Usage

imagebuilder_get_lifecycle_execution(lifecycleExecutionId)

Arguments

lifecycleExecutionId

[required] Use the unique identifier for a runtime instance of the lifecycle policy to get runtime details.

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"
)