AWS Fundamentals Logo
AWS Fundamentals
L2 Construct

StateMachine

A Step Functions state machine for orchestrating workflows

Import

import { StateMachine } from 'aws-cdk-lib/aws-stepfunctions';

Or use the module namespace:

import * as stepfunctions from 'aws-cdk-lib/aws-stepfunctions';
// stepfunctions.StateMachine

Underlying CloudFormation Resources

This L2 construct creates and manages the following CloudFormation resources.

Get the AWS Step Functions Cheat Sheet

Everything you need to know about AWS Step Functions on one page. HD quality, print-friendly.

Download Free Infographic