Skill 1.1.4
Design multi-step workflows that have durable execution patterns (for example, by using AWS Step Functions, durable Lambda functions).
Key Concepts
AWS Step Functions defines the workflow as a state machine in Amazon States Language. Standard Workflows run for up to one year with exactly-once state transitions and a full execution history; Express Workflows run for up to five minutes at high volume with at-least-once semantics. Built-in retry and catch policies, parallel and map states, service integrations and the .waitForTaskToken pattern for callbacks make it the choice when the workflow should be visible, auditable and coordinate many AWS services.
Lambda durable functions write the workflow as ordinary code in one function. The Durable Execution SDK checkpoints each step; when the function waits (for a duration, a condition or an external callback) it stops running and stops charging, and Lambda later re-invokes it and replays the checkpoint log so completed steps return their stored results. A durable execution can last up to one year. Code outside steps must be deterministic, because it runs again on every replay.