Working with Step Functions
Step Functions is an AWS service that allows you to create workflows in order to orchestrate the execution of Lambda Functions. This is so that you can connect them in a sort of event sequence, known as steps. These steps are grouped in a state machine.
Step Functions incorporates retry functionality so that you can configure your pipeline to proceed only after a particular step has succeeded. The way you set these retry configurations is by creating a retry policy.
Just like the majority of AWS services, AWS Step Functions also integrates with other services, not only AWS Lambda.
Creating a state machine is relatively simple. All you have to do is navigate to the AWS Step Functions console, then create a new state machine. On the Create state machine page, you can specify whether you want to create your state machine from scratch, from a template, or whether you just want to run a sample project.
AWS will help you with this...