Introduction
In this article, we are going to learn about the AWS Step function and its types.
Step Function WorkFlow
The Step Function is a fully managed service that eliminates to do manual orchestration of your components, which eventually provides more amount of time to concentrate on business logic instead of Infra and it's fully integrated with AWS lambda functions, SQS, and other services to build our work. On top of that, the state function console provides a visual representation, which makes it easy to understand our business flow.
Please note, in the step function we have a couple of options
State Machine
A state machine is called a workflow, which has a series of event-driven steps.
Step Function States
The State is one which makes a decision on their requested input. Also, we can say here as it follows a chronography pattern. State are elements in your state machine.
Sample Snippet of State
"HelloWorld": {
"Type": <State Type>,
"Resource": <ARN Lamda Path>,
"Next": <Which state we need to call next>
"Comment": <Description about that State>
}
Types of States
- Task
- Pass
- Choice
- Failure or Succeed
- Pass
- Wait
- Parallel
- Map
Reference
https://docs.aws.amazon.com/step-functions/latest/dg/concepts-states.html