15 CDK constructs available in aws-cdk-lib/aws-stepfunctions
import * as stepfunctions from 'aws-cdk-lib/aws-stepfunctions';Higher-level abstractions with sensible defaults and convenience methods.
Define a new Step Functions Activity.
Define a Choice in the state machine. A choice state can be used to make decisions based on the execution state.
State defined by supplying Amazon States Language (ASL) in the state machine.
Define a Distributed Mode Map state in the state machine. A `Map` state can be used to run a set of steps for each element of an input array. A Map state will execute the same steps for multiple entries of an array in the state input. While the Parallel state executes multiple branches of steps using the same input, a Map state will execute the same steps for multiple entries of an array in the state input. A `Map` state in `Distributed` mode will execute a child workflow for each iteration of the Map state. This serves to increase concurrency and allows for larger workloads to be run in a single state machine.
Define a Fail state in the state machine. Reaching a Fail state terminates the state execution in failure.
Define a Map state in the state machine. A `Map` state can be used to run a set of steps for each element of an input array. A Map state will execute the same steps for multiple entries of an array in the state input. While the Parallel state executes multiple branches of steps using the same input, a Map state will execute the same steps for multiple entries of an array in the state input.
Define a Parallel state in the state machine. A Parallel state can be used to run one or more state machines at the same time. The Result of a Parallel state is an array of the results of its substatemachines.
Define a Pass in the state machine. A Pass state can be used to transform the current execution's state.
Define a StepFunctions State Machine.
Define a Succeed state in the state machine. Reaching a Succeed state terminates the state execution in success.
Define a Wait state in the state machine. A Wait state can be used to delay execution of the state machine for a while.
Direct CloudFormation resource mappings. One-to-one with CloudFormation resource types.
Everything you need to know about AWS Step Functions on one page. HD quality, print-friendly.
Download Free Infographicaws-cdk-lib/aws-stepfunctions