EventBridge
Parity grade: A · SDK aws-sdk-go-v2/service/eventbridge@v1.55.3 · last audited 2026-10-11 (f78c3b7c7)
Category: Messaging & Integration · View PARITY.md on GitHub · All Services
In-memory EventBridge with event buses, rules, targets, archives and replays, connections and API destinations, global endpoints, partner event sources, and the Schemas registry.
Quick start
export AWS_ENDPOINT_URL=http://localhost:8000
aws events create-event-bus --name my-bus
aws events put-rule --name my-rule --event-bus-name my-bus \
--event-pattern '{"source":["myapp.orders"]}' --state ENABLED
aws events put-targets --rule my-rule --event-bus-name my-bus \
--targets '[{"Id":"1","Arn":"arn:aws:sqs:us-east-1:000000000000:my-queue"}]'
aws events put-events --entries '[{
"EventBusName":"my-bus","Source":"myapp.orders",
"DetailType":"OrderPlaced","Detail":"{\"orderId\":\"123\"}"}]'
aws events list-rules --event-bus-name my-busSupported operations
| Area | Operations |
|---|---|
| Event buses | CreateEventBus, DescribeEventBus, ListEventBuses, UpdateEventBus, DeleteEventBus, PutPermission, RemovePermission |
| Rules | PutRule, DescribeRule, ListRules, EnableRule, DisableRule, DeleteRule, TestEventPattern |
| Targets | PutTargets, RemoveTargets, ListTargetsByRule, ListRuleNamesByTarget |
| Events | PutEvents, PutPartnerEvents |
| Archives and replays | Create/Describe/List/Update/DeleteArchive, StartReplay, DescribeReplay, ListReplays, CancelReplay |
| Connections and API destinations | Create/Describe/List/Update/DeleteConnection, DeauthorizeConnection, Create/Describe/List/Update/DeleteApiDestination |
| Global endpoints | Create/Describe/List/Update/DeleteEndpoint |
| Partner event sources | Create/Describe/List/DeletePartnerEventSource, ListPartnerEventSourceAccounts, ActivateEventSource, DeactivateEventSource, DescribeEventSource, ListEventSources |
| Tags | TagResource, UntagResource, ListTagsForResource |
| Schemas registry | Create/Describe/List/Update/DeleteRegistry, Create/Describe/List/Update/Delete/SearchSchema(s), ListSchemaVersions, DeleteSchemaVersion, GetDiscoveredSchema, PutCodeBinding, DescribeCodeBinding, GetCodeBindingSource, ExportSchema, discoverer CRUD with StartDiscoverer and StopDiscoverer, Get/Put/DeleteResourcePolicy |
Rule targets delivered in-process: Lambda, SQS, SNS, Kinesis, Step Functions, ECS, Batch, CloudWatch Logs, other event buses (same account, cross-bus and cross-region), API destinations, API Gateway, Systems Manager, AppSync, CodeBuild, CodePipeline, Redshift and SageMaker.
Configuration
| Env | Default | Purpose |
|---|---|---|
EVENTBRIDGE_ALLOW_SCHEDULE_ON_CUSTOM_BUS | false | Accept scheduled rules on custom buses (AWS allows them only on the default bus) |
Differences from AWS
NOTE
The backend models one account. A target event bus in another account cannot be resolved, so that delivery is dropped.
- Inspector is not a deliverable target. Such ARNs log
unsupported target ARN type. ThrottledRulesandPutEventsApproximateThrottledCountare never emitted: no invocation orPutEventsthrottle limits apply.
Parity & Coverage
| Metric | Value |
|---|---|
| PARITY entries audited | 66 (59 ok, 7 partial) |
| Feature families | 3 (3 ok) |
| Known gaps | none |
| Structural gaps (can't be emulated) | 3 |
| Deferred items | 2 |
| Resource leaks | clean |
Structural Gaps
These do not block an A grade — no implementation could produce real data here because the underlying data source cannot exist in an emulator.
- Inspector is not a deliverable rule target: the current EventBridge targets guide no longer lists it, Inspector Classic (assessment templates) is retired, and the repo has no classic backend; Inspector2 has no StartAssessmentRun-style API. Such ARNs log 'unsupported target ARN type'.
- ThrottledRules and PutEventsApproximateThrottledCount are never emitted: the emulator applies no invocation or PutEvents throttle limits. The AWS/Events docs list no API-destination metrics.
- Cross-account event-bus PutTargets delivery: the backend models a single account (InMemoryBackend.accountID), so a target bus ARN in another account cannot be resolved and is dropped. Same-account cross-bus/cross-region routing works.
Deferred Items
- Schema registry (CreateRegistry..GetCodeBindingSource, 17 real ops -- see schema_registry_and_pipes) and Pipes (CreatePipe..UpdatePipe, 5 ops) -- these model separate AWS control planes (schemas/pipes SDK modules), not core EventBridge (events) ops; field-level wire/errors/state audit still not done this pass, only the SDK-completeness/naming check. UPDATE 2026-08-29: the pagination slice of that still-undone audit is now done -- ListRegistries/ListSchemas/SearchSchemas/ListSchemaVersions all declare real Limit/NextToken (schemas@v1.37.4) that were completely unconsulted on both the JSON-RPC (handler_schemas.go/handler_registries.go, dead for a real client but still fixed for consistency) and REST-JSON1 (handler_schemas_rest.go, the actually-reachable path) dispatch paths -- every call returned every stored item in one unbounded page regardless of Limit or the query's
limitparam. Fixed via the existing paginateSlice-equivalent (backend methods gained alimit intparameter, wired to paginateN); REST handlers gained schemasRESTLimit(q) to parse thelimitquery param. Field-level wire/errors/state audit for the rest of these 17+5 ops is still open. UPDATE (wrapper-key sweep): PutCodeBinding/DescribeCodeBinding/GetCodeBindingSource now field-verified too -- see their own ops: entry (a real SchemaVersion-scoping bug found and fixed). - PutPermission/RemovePermission/policy-statement JSON shape (EventBusPolicyStatement.Principal as
anyfor both string and object-with-AWS-key forms) -- spot-checked only, not re-verified this sweep beyond the persistence fix. UPDATE 2026-09-24: the surrounding document shape WAS re-verified and fixed -- see 2026-09-24 Notes entry; Principal's dual string/object shape itself remains unverified.
Audited Operations
66 audited operations
| Operation | Wire | Errors | State | Persist |
|---|---|---|---|---|
CreateEventBus | ok | ok | ok | ok |
DeleteEventBus | ok | ok | ok | ok |
ListEventBuses | ok | ok | ok | ok |
DescribeEventBus | ok | ok | ok | ok |
UpdateEventBus | ok | ok | ok | ok |
PutRule | ok | ok | ok | ok |
DeleteRule | ok | ok | ok | ok |
ListRules | fixed | ok | ok | ok |
DescribeRule | fixed | ok | ok | ok |
EnableRule | ok | ok | ok | ok |
DisableRule | ok | ok | ok | ok |
PutTargets | ok | ok | ok | ok |
RemoveTargets | ok | ok | ok | ok |
ListTargetsByRule | ok | ok | ok | ok |
ListRuleNamesByTarget | ok | ok | ok | ok |
PutEvents | ok | ok | ok | ok |
PutPartnerEvents | ok | ok | ok | ok |
ListTagsForResource | ok | ok | ok | ok |
TagResource | ok | ok | ok | ok |
UntagResource | ok | ok | ok | ok |
ActivateEventSource | ok | ok | ok | ok |
DeactivateEventSource | ok | ok | ok | ok |
DescribeEventSource | ok | ok | ok | ok |
ListEventSources | ok | ok | ok | ok |
CancelReplay | ok | ok | ok | ok |
DescribeReplay | ok | ok | ok | ok |
ListReplays | ok | ok | ok | ok |
StartReplay | ok | ok | ok | ok |
CreateApiDestination | ok | ok | ok | ok |
DeleteApiDestination | ok | ok | ok | ok |
DescribeApiDestination | ok | ok | ok | ok |
ListApiDestinations | ok | ok | ok | ok |
UpdateApiDestination | ok | ok | ok | ok |
CreateArchive | ok | ok | ok | ok |
DeleteArchive | ok | ok | ok | ok |
DescribeArchive | ok | ok | ok | ok |
ListArchives | ok | ok | ok | ok |
UpdateArchive | ok | ok | ok | ok |
CreateConnection | ok | ok | ok | ok |
DeleteConnection | ok | ok | ok | ok |
DescribeConnection | ok | ok | ok | ok |
ListConnections | ok | ok | ok | ok |
UpdateConnection | ok | ok | ok | ok |
DeauthorizeConnection | ok | ok | ok | ok |
CreateEndpoint | ok | ok | ok | ok |
DeleteEndpoint | ok | ok | ok | ok |
DescribeEndpoint | ok | ok | ok | ok |
ListEndpoints | ok | ok | ok | ok |
UpdateEndpoint | ok | ok | ok | ok |
CreatePartnerEventSource | ok | ok | ok | ok |
DeletePartnerEventSource | ok | ok | ok | ok |
DescribePartnerEventSource | ok | ok | ok | ok |
ListPartnerEventSources | ok | ok | ok | ok |
ListPartnerEventSourceAccounts | ok | ok | ok | ok |
TestEventPattern | ok | ok | ok | n/a |
PutPermission | fixed | ok | fixed | ok |
RemovePermission | ok | ok | ok | ok |
GetEventBusPolicy | partial | ok | ok | ok |
PutEventBusPolicy | partial | ok | ok | ok |
DescribeSchemaVersion | partial | ok | ok | ok |
PutCodeBinding/DescribeCodeBinding/GetCodeBindingSource | fixed | ok | fixed | n/a |
ListCodeBindings | partial | ok | ok | ok |
CreateDiscoverer/DescribeDiscoverer/ListDiscoverers/UpdateDiscoverer/DeleteDiscoverer | ok | ok | ok | partial |
StartDiscoverer/StopDiscoverer | ok | ok | ok | partial |
ExportSchema | ok | ok | ok | n/a |
GetResourcePolicy/PutResourcePolicy/DeleteResourcePolicy | ok | ok | ok | partial |
Audited Feature Families
| Feature Family | Status |
|---|---|
event_pattern_matching | ok |
schema_registry_and_pipes | ok |
archives_replays_connections_api_destinations_endpoints | ok |
