Skip to content

DescribeExecution

Source: src/AWS/StepFunctions/DescribeExecution.ts

Runtime binding for states:DescribeExecution.

Bind this operation to a StateMachine inside a function runtime to poll the status and output of that machine’s executions. IAM access is scoped to executions of the bound state machine.

const describeExecution = yield* StepFunctions.DescribeExecution(machine);
const execution = yield* describeExecution({ executionArn });
// execution.status: "RUNNING" | "SUCCEEDED" | "FAILED" | ...