streams_eventbridge with
eventBridgeReceiver("us-east-1", session, data).
Pass the same label to the receiver binder and as the app’s data. Seal a regional SigV4 credential
scoped to events:StartReplay and events:CreateApiDestination for the
installed resources. Configure any required IAM service-linked role in AWS.
Expose installer-owned mutations that supply a reviewed scope constant
and restrict who can submit these commands. The scope contains the archive, original event bus, one
rule on that bus, and an existing AWS connection, all as ARNs in one
commercial AWS account and region. It also contains the reviewed HTTPS
invocationEndpoint and its rate from 1 to 300 requests per second.
Review the rule’s targets and the connection in AWS before enabling replay.
- Call
eventbridge.startReplay({ command, name, scope, startMs, endMs })for a UTC epoch-millisecond interval up to one day. AWS replays to the original bus and selects the installed rule. - Call
eventbridge.createApiDestination({ command, name, scope })to register a POST receiver using the installed endpoint, connection and rate. Attach it to the reviewed rule in AWS. AWS owns invocation and delivery.
eventbridge.commandStatus({ command })
retains the provider ARN when AWS acknowledges the request. Repeating the
same command recovers its disposition. An ambiguous send stays unknown.
These commands publish no events or cursor to the installation, and they delete
nothing. Use AWS’s replay details and delivery metrics to monitor progress.
StartReplay API ·
CreateApiDestination API