Create an EventBridge rule on a custom event bus with an event pattern (JSON filter) and one or more targets (Lambda, SQS, Step Functions, etc.)
Enable an archive on the event bus via the console or aws events create-archive, specifying a retention period and optional event pattern filter
To replay archived events, create a replay with aws events start-replay, specifying the source archive, time range, and a destination event bus
Use IAM roles with events:PutEvents permission for producers and appropriate target-side permissions for EventBridge to invoke targets
Test rules with the EventBridge console's sandbox feature or by sending test events via aws events put-events
Known gotchas
EventBridge delivers events at least once; targets must be idempotent, especially when replaying archived events which can duplicate with live events
Archive replay sends events to the event bus, which triggers all matching live rules; if those rules have side effects, replay can cause unintended duplicate actions
EventBridge rule evaluation has a maximum number of active rules per event bus; check the current service quota before creating rules at scale
Give your agent this knowledge — and 200+ more routes
One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp