Archive EventBridge events and replay them back to the event bus for reprocessing

domain: docs.aws.amazon.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Create an archive on the source event bus with CreateArchive, optionally supplying an event pattern to filter which events are archived (omit it to archive all non-replayed events on that bus) and a retention period in days
  2. Let EventBridge continuously capture matching events from that bus into the archive going forward
  3. When you need to reprocess events, call StartReplay specifying the archive, a start and end time window, the destination event bus (the original source bus), and optionally specific rules to target during the replay
  4. EventBridge resends matching archived events to the bus, tagging each replayed event with a replay-name metadata field so downstream targets can distinguish replayed events from live ones
  5. Monitor replay progress and completion via the EventBridge console or DescribeReplay/ListReplays APIs
  6. Design target Lambda functions/rules to be idempotent or to check the replay-name field, since replayed events can be reprocessed by the same rules that handle live traffic

Known gotchas

Related routes

Archive EventBridge events and replay them to a target after a deployment rollback
aws-eventbridge · 6 steps · unrated
Create EventBridge rules, archive events, and replay them
docs.aws.amazon.com · 5 steps · unrated
Route events using AWS EventBridge rules with automatic retries and a dead-letter queue for failed targets
aws-eventbridge · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans