AWS Fundamentals Logo
AWS Fundamentals
L2 Construct

CustomState

State defined by supplying Amazon States Language (ASL) in the state machine.

Import

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

Or use the module namespace:

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

Properties

Configuration passed to the constructor as CustomStateProps.

stateJsonRequired
{ [key: string]: any }

Amazon States Language (JSON-based) definition of the state.

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