Map State Configuration

Learn to configure the Map state in workflow.

We'll cover the following

Now, we want to simulate the mixing process for each ingredient independently, and a Map state helps achieve this by processing each ingredient in parallel. We will update the serverless.yml file to include the Map state in the productionLineStateMachine definition. We'll connect the Map state to the Lambda function that calculates the mixing time for each ingredient.

Configuration of the Map state

Under the IngredientPreparation, we'll add MixingIngredients:

Get hands-on with 1400+ tech skills courses.