AWS Step Functions States

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

  • Express 
  • Standard

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

  1. Task
  2. Pass
  3. Choice
  4. Failure or Succeed
  5. Pass
  6. Wait
  7. Parallel
  8. Map

Reference

https://docs.aws.amazon.com/step-functions/latest/dg/concepts-states.html


Similar Articles