Define a Wait state in the state machine. A Wait state can be used to delay execution of the state machine for a while.
import { Wait } from 'aws-cdk-lib/aws-stepfunctions';Or use the module namespace:
import * as stepfunctions from 'aws-cdk-lib/aws-stepfunctions';
// stepfunctions.WaitConfiguration passed to the constructor as WaitProps.
timeRequiredWaitTimeWait duration.
StateBasePropscommentOptionalinherited from StateBasePropsstringA comment describing this state.
Default: No comment
queryLanguageOptionalinherited from StateBasePropsQueryLanguageThe name of the query language used by the state. If the state does not contain a `queryLanguage` field, then it will use the query language specified in the top-level `queryLanguage` field.
Default: - JSONPath
stateNameOptionalinherited from StateBasePropsstringOptional name for this state.
Default: - The construct ID will be used as state name
AssignableStateOptionsassignOptionalinherited from AssignableStateOptions{ [key: string]: any }Workflow variables to store in this step. Using workflow variables, you can store data in a step and retrieve that data in future steps.
Default: - Not assign variables
Everything you need to know about AWS Step Functions on one page. HD quality, print-friendly.
Download Free Infographicaws-stepfunctions