Shape Verification Setup
Explore how to implement parallel quality control checks in AWS Step Functions. Understand using the Parallel state for concurrent execution and leveraging Secrets Manager to verify allowed shapes. This lesson helps you design efficient state machines with simultaneous workflow branches for better performance and maintainability.
We'll cover the following...
In our quality control step, we plan to use AWS Step Functions' Parallel state. As the name suggests, a Parallel state allows us to create parallel branches of execution in our state machine. It's used to model workflows that require concurrent execution of multiple operations.
Our quality control step consists of two separate checks that can be executed independently and concurrently, making it a great use case for the Parallel state.
Here are the two checks that we'll perform:
Shape Verification: For each sweet, we verify that its shape is an allowed shape ...