Parallel State

Learn to implement a Parallel state by combing two states.

We'll cover the following

We have Lambda functions up and running, and we've managed to set them up in the state machine. Now, we introduce the Parallel state. Running steps in parallel is helpful when we have independent tasks that can be executed simultaneously to speed up the entire workflow.

Implementing the Parallel state

To use the Parallel state in the AWS Step Functions state machine, we need to modify our serverless.yml file to run the CheckShape and ApiQualityCheck states in parallel.

Open the serverless.yml file in the project below:

Get hands-on with 1400+ tech skills courses.