StartReplay
Source:
src/AWS/EventBridge/StartReplay.ts
Starts a replay of archived events (events:StartReplay).
Bind this operation to an Archive inside a function runtime to get
a callable that replays a time window of archived events onto a
destination event bus — the runtime half of disaster-recovery and
backfill tooling. Provide the StartReplayHttp layer on the Function to
satisfy the binding.
Replaying Events
Section titled “Replaying Events”// init — bind the archive (provide AWS.EventBridge.StartReplayHttp on the Function)const startReplay = yield* AWS.EventBridge.StartReplay(archive);
// runtime — replay yesterday's events back onto the archive's source busconst replay = yield* startReplay({ ReplayName: "backfill-2026-07-14", EventStartTime: new Date("2026-07-14T00:00:00Z"), EventEndTime: new Date("2026-07-15T00:00:00Z"),});