Orchestrating Step Functions with Lambda
There may be times when you need to coordinate multiple Lambda functions together to perform a larger task. Step Functions can make decisions based on input received in the state machine, run steps in parallel, and even be connected to other services such as SNS to request human input for tasks.
Step Functions also create a visual workflow that allows you to see the individual steps in the process. As the Step Functions run, you can see the success or failure of your state machine.
Understanding state machines inside of Step Functions
The state machine is the orchestration feature of the Step Function. It defines the order in which the steps are run, along with any data that's been received from previous states and passed out to be used by other states.
State machine commands are always written in JSON format. Even if you have written your CloudFormation template in YAML format, you will still need to create your state...