Understanding state-machine services
In some cases, the application logic and data flow may be complex, and using AWS Lambda to implement the logic may prove difficult. In those situations, we may use another AWS service better suited to implementing this logic and flow. A service that can implement a state machine and keep track of its state. AWS has a service that fits this bill and can help to fill this gap—AWS Step Functions.
AWS Step Functions is a service that coordinates individual pieces in applications. The coordination can be specified in a simple way using a visual editor. Applications can be put together by assembling these individualized software components. Each of the components specializes in one or a few tasks.
AWS provides a graphical editor to display and edit the system components. These are displayed as a series of steps. AWS Step Functions can trigger and track these steps and retry a task a specified number of times if an error occurs. AWS Step Functions...