Step Functions Execution

This table represents the Step Functions Execution resource from Amazon Web Services.

aws.sfn_execution

Fields

TitleIDTypeData TypeDescription
_keycorestring
account_idcorestring
causecorestringThe cause string if the state machine execution failed.
errorcorestringThe error string if the state machine execution failed.
execution_arncorestringThe Amazon Resource Name (ARN) that identifies the execution.
inputcorestringThe string that contains the JSON input data of the execution. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
input_detailscorejson
map_run_arncorestringThe Amazon Resource Name (ARN) that identifies a Map Run, which dispatched this execution.
namecorestringThe name of the execution. A name must <i>not</i> contain: <ul> <li> white space </li> <li> brackets <code>&lt; &gt; { } [ ]</code> </li> <li> wildcard characters <code>? *</code> </li> <li> special characters <code>" # % \ ^ | ~ ` $ &amp; , ; : /</code> </li> <li> control characters (<code>U+0000-001F</code>, <code>U+007F-009F</code>) </li> </ul> To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.
outputcorestringThe JSON output data of the execution. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding. <note> This field is set only if the execution succeeds. If the execution fails, this field is null. </note>
output_detailscorejson
redrive_countcoreint64The number of times you've redriven an execution. If you have not yet redriven an execution, the <code>redriveCount</code> is 0. This count is only updated if you successfully redrive an execution.
redrive_datecoretimestampThe date the execution was last redriven. If you have not yet redriven an execution, the <code>redriveDate</code> is null. The <code>redriveDate</code> is unavailable if you redrive a Map Run that starts child workflow executions of type <code>EXPRESS</code>.
redrive_statuscorestringIndicates whether or not an execution can be redriven at a given point in time. <ul> <li> For executions of type <code>STANDARD</code>, <code>redriveStatus</code> is <code>NOT_REDRIVABLE</code> if calling the <a>RedriveExecution</a> API action would return the <code>ExecutionNotRedrivable</code> error. </li> <li> For a Distributed Map that includes child workflows of type <code>STANDARD</code>, <code>redriveStatus</code> indicates whether or not the Map Run can redrive child workflow executions. </li> <li> For a Distributed Map that includes child workflows of type <code>EXPRESS</code>, <code>redriveStatus</code> indicates whether or not the Map Run can redrive child workflow executions. You can redrive failed or timed out <code>EXPRESS</code> workflows <i>only if</i> they're a part of a Map Run. When you <a href="https://docs.aws.amazon.com/step-functions/latest/dg/redrive-map-run.html">redrive</a> the Map Run, these workflows are restarted using the <a>StartExecution</a> API action. </li> </ul>
redrive_status_reasoncorestringWhen <code>redriveStatus</code> is <code>NOT_REDRIVABLE</code>, <code>redriveStatusReason</code> specifies the reason why an execution cannot be redriven. <ul> <li> For executions of type <code>STANDARD</code>, or for a Distributed Map that includes child workflows of type <code>STANDARD</code>, <code>redriveStatusReason</code> can include one of the following reasons: <ul> <li> <code>State machine is in DELETING status</code>. </li> <li> <code>Execution is RUNNING and cannot be redriven</code>. </li> <li> <code>Execution is SUCCEEDED and cannot be redriven</code>. </li> <li> <code>Execution was started before the launch of RedriveExecution</code>. </li> <li> <code>Execution history event limit exceeded</code>. </li> <li> <code>Execution has exceeded the max execution time</code>. </li> <li> <code>Execution redrivable period exceeded</code>. </li> </ul> </li> <li> For a Distributed Map that includes child workflows of type <code>EXPRESS</code>, <code>redriveStatusReason</code> is only returned if the child workflows are not redrivable. This happens when the child workflow executions have completed successfully. </li> </ul>
start_datecoretimestampThe date the execution is started.
state_machine_alias_arncorestringThe Amazon Resource Name (ARN) of the state machine alias associated with the execution. The alias ARN is a combination of state machine ARN and the alias name separated by a colon (:). For example, <code>stateMachineARN:PROD</code>. If you start an execution from a <code>StartExecution</code> request with a state machine version ARN, this field will be null.
state_machine_arncorestringThe Amazon Resource Name (ARN) of the executed stated machine.
state_machine_version_arncorestringThe Amazon Resource Name (ARN) of the state machine version associated with the execution. The version ARN is a combination of state machine ARN and the version number separated by a colon (:). For example, <code>stateMachineARN:1</code>. If you start an execution from a <code>StartExecution</code> request without specifying a state machine version or alias ARN, Step Functions returns a null value.
statuscorestringThe current status of the execution.
stop_datecoretimestampIf the execution ended, the date the execution stopped.
tagscorehstore
trace_headercorestringThe X-Ray trace header that was passed to the execution.