Skip to main content

workflow_step_executions

Creates, updates, deletes, gets or lists a workflow_step_executions resource.

Overview

Nameworkflow_step_executions
TypeResource
Idaws.imagebuilder.workflow_step_executions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringThe name of the specified runtime instance of the workflow step. (pattern: <code>^[A-Za-z][A-Za-z0-9-_]{1,99}$</code>)
actionstringThe name of the action that the specified step performs. (pattern: <code>^[A-Za-z][A-Za-z0-9-_]{1,99}$</code>)
descriptionstringDescribes the specified workflow step.
end_timestringThe timestamp when the specified runtime instance of the workflow step finished.
image_build_version_arnstringThe Amazon Resource Name (ARN) of the image resource build version that the specified runtime instance of the workflow step creates. (pattern: <code>^arn:aws[^:]*:imagebuilder:[^:]+:(?:[0-9]{12}|aws(?:-[a-z-]+)?):image/[a-z0-9-_]+/[0-9]+.[0-9]+.[0-9]+/[0-9]+$</code>)
inputsstringInput parameters that Image Builder provided for the specified runtime instance of the workflow step.
messagestringThe output message from the specified runtime instance of the workflow step, if applicable.
on_failurestringThe action to perform if the workflow step fails.
outputsstringThe file names that the specified runtime version of the workflow step created as output.
request_idstringThe request ID that uniquely identifies this request.
rollback_statusstringReports on the rollback status of the specified runtime version of the workflow step, if applicable. (RUNNING, COMPLETED, SKIPPED, FAILED)
start_timestringThe timestamp when the specified runtime version of the workflow step started.
statusstringThe current status for the specified runtime version of the workflow step. (PENDING, SKIPPED, RUNNING, COMPLETED, FAILED, CANCELLED)
step_execution_idstringThe unique identifier for the runtime version of the workflow step that you specified in the request. (pattern: <code>^step-[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$</code>)
timeout_secondsintegerThe maximum duration in seconds for this step to complete its action.
workflow_build_version_arnstringThe Amazon Resource Name (ARN) of the build version for the Image Builder workflow resource that defines this workflow step. (pattern: <code>^arn:aws(?:-[a-z]+)*:imagebuilder:[a-z]{2,}(?:-[a-z]+)+-[0-9]+:(?:[0-9]{12}|aws(?:-[a-z-]+)?):workflow/(build|test|distribution)/[a-z0-9-_]+/[0-9]+.[0-9]+.[0-9]+/[0-9]+$</code>)
workflow_execution_idstringThe unique identifier that Image Builder assigned to keep track of runtime details when it ran the workflow. (pattern: <code>^wf-[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_workflow_step_executionselectstepExecutionId, regionGet the runtime information that was logged for a specific runtime instance of the workflow step.
list_workflow_step_executionsselectregionReturns runtime data for each step in a runtime instance of the workflow that you specify in the request.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)
stepExecutionIdstringUse the unique identifier for a specific runtime instance of the workflow step to get runtime details for that step.

SELECT examples

Get the runtime information that was logged for a specific runtime instance of the workflow step.

SELECT
name,
action,
description,
end_time,
image_build_version_arn,
inputs,
message,
on_failure,
outputs,
request_id,
rollback_status,
start_time,
status,
step_execution_id,
timeout_seconds,
workflow_build_version_arn,
workflow_execution_id
FROM aws.imagebuilder.workflow_step_executions
WHERE stepExecutionId = '{{ stepExecutionId }}' -- required
AND region = '{{ region }}' -- required
;