Progress survives; the invocation does not have to
How checkpoint-and-replay execution preserves multi-step function progress through durable steps, waits, and invocations, with configurable execution lifetime and protected history. · advanced
A durable execution can span multiple Lambda invocations, including invocations after suspension or failure recovery. Enable durable execution when creating the function; it cannot be added to an existing function.
A durable step runs business logic with built-in retries and automatic checkpointing. Each completed step saves its result. After an interruption, that saved progress lets the execution continue without rerunning previously completed steps.
Continuation uses checkpoint and replay: Lambda invokes the function again from the beginning and replays the checkpoint log, substituting stored results for completed operations. “Resume from the last completed step” describes preserved progress, not a jump directly to a saved line of code. The surrounding code runs again; completed step bodies do not.