Using Amazon States Language to define Step Functions workflows - AWS Step Functions
Use the Amazon States Language to define your AWS Step Functions workflow in JSON as a collection of states, including tasks, choices, and outcomes.