Find your next open-source project

Search by name, purpose, or keyword, or paste a GitHub URL. Start with / to search agent skills (e.g. /pdf)
All skills

aws-lambda-durable-functions

Build and review AWS Lambda durable function code with checkpointed steps, waits, callbacks, and saga compensation.

When to use it

You have a multi-step Lambda workflow that must survive restarts and long waits, and you need to write or check the handler code.

For example

You say

Use aws-lambda-durable-functions to write a TypeScript handler that charges a card, waits for a manager approval callback, and refunds if approval is rejected.

You get
  • Wrapped durable handler
  • Approval callback step
  • Saga refund step

How it works

  • Code outside steps must be deterministic, since the handler replays from the start after waits or failures.
  • Steps default to at-least-once, so non-idempotent calls need AtMostOncePerRetry or an idempotency key.
  • Invoke the function with a qualified ARN such as a version, alias, or $LATEST.

Before installing

Durable execution can only be enabled when a function is created, so existing functions must be recreated with DurableConfig.