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
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
Let EventBridge continuously capture matching events from that bus into the archive going forward
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
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
Monitor replay progress and completion via the EventBridge console or DescribeReplay/ListReplays APIs
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
A maximum of ten active concurrent replays are allowed per account per Region — batch or queue replay requests if you need more
Replayed events are explicitly excluded from being sent back into an archive, preventing infinite archive-replay loops, but this also means you cannot archive the output of a replay for a second later replay without designing that separately
Each archive is bound to a single source event bus at creation time — you cannot repoint an existing archive to capture from a different bus
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?