Skip to content

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 ​

bash
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-bus

Supported operations ​

AreaOperations
Event busesCreateEventBus, DescribeEventBus, ListEventBuses, UpdateEventBus, DeleteEventBus, PutPermission, RemovePermission
RulesPutRule, DescribeRule, ListRules, EnableRule, DisableRule, DeleteRule, TestEventPattern
TargetsPutTargets, RemoveTargets, ListTargetsByRule, ListRuleNamesByTarget
EventsPutEvents, PutPartnerEvents
Archives and replaysCreate/Describe/List/Update/DeleteArchive, StartReplay, DescribeReplay, ListReplays, CancelReplay
Connections and API destinationsCreate/Describe/List/Update/DeleteConnection, DeauthorizeConnection, Create/Describe/List/Update/DeleteApiDestination
Global endpointsCreate/Describe/List/Update/DeleteEndpoint
Partner event sourcesCreate/Describe/List/DeletePartnerEventSource, ListPartnerEventSourceAccounts, ActivateEventSource, DeactivateEventSource, DescribeEventSource, ListEventSources
TagsTagResource, UntagResource, ListTagsForResource
Schemas registryCreate/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 ​

EnvDefaultPurpose
EVENTBRIDGE_ALLOW_SCHEDULE_ON_CUSTOM_BUSfalseAccept 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.
  • ThrottledRules and PutEventsApproximateThrottledCount are never emitted: no invocation or PutEvents throttle limits apply.

Parity & Coverage ​

MetricValue
PARITY entries audited66 (59 ok, 7 partial)
Feature families3 (3 ok)
Known gapsnone
Structural gaps (can't be emulated)3
Deferred items2
Resource leaksclean

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 limit param. Fixed via the existing paginateSlice-equivalent (backend methods gained a limit int parameter, wired to paginateN); REST handlers gained schemasRESTLimit(q) to parse the limit query 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 any for 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
OperationWireErrorsStatePersist
CreateEventBusokokokok
DeleteEventBusokokokok
ListEventBusesokokokok
DescribeEventBusokokokok
UpdateEventBusokokokok
PutRuleokokokok
DeleteRuleokokokok
ListRulesfixedokokok
DescribeRulefixedokokok
EnableRuleokokokok
DisableRuleokokokok
PutTargetsokokokok
RemoveTargetsokokokok
ListTargetsByRuleokokokok
ListRuleNamesByTargetokokokok
PutEventsokokokok
PutPartnerEventsokokokok
ListTagsForResourceokokokok
TagResourceokokokok
UntagResourceokokokok
ActivateEventSourceokokokok
DeactivateEventSourceokokokok
DescribeEventSourceokokokok
ListEventSourcesokokokok
CancelReplayokokokok
DescribeReplayokokokok
ListReplaysokokokok
StartReplayokokokok
CreateApiDestinationokokokok
DeleteApiDestinationokokokok
DescribeApiDestinationokokokok
ListApiDestinationsokokokok
UpdateApiDestinationokokokok
CreateArchiveokokokok
DeleteArchiveokokokok
DescribeArchiveokokokok
ListArchivesokokokok
UpdateArchiveokokokok
CreateConnectionokokokok
DeleteConnectionokokokok
DescribeConnectionokokokok
ListConnectionsokokokok
UpdateConnectionokokokok
DeauthorizeConnectionokokokok
CreateEndpointokokokok
DeleteEndpointokokokok
DescribeEndpointokokokok
ListEndpointsokokokok
UpdateEndpointokokokok
CreatePartnerEventSourceokokokok
DeletePartnerEventSourceokokokok
DescribePartnerEventSourceokokokok
ListPartnerEventSourcesokokokok
ListPartnerEventSourceAccountsokokokok
TestEventPatternokokokn/a
PutPermissionfixedokfixedok
RemovePermissionokokokok
GetEventBusPolicypartialokokok
PutEventBusPolicypartialokokok
DescribeSchemaVersionpartialokokok
PutCodeBinding/DescribeCodeBinding/GetCodeBindingSourcefixedokfixedn/a
ListCodeBindingspartialokokok
CreateDiscoverer/DescribeDiscoverer/ListDiscoverers/UpdateDiscoverer/DeleteDiscovererokokokpartial
StartDiscoverer/StopDiscovererokokokpartial
ExportSchemaokokokn/a
GetResourcePolicy/PutResourcePolicy/DeleteResourcePolicyokokokpartial

Audited Feature Families ​

Feature FamilyStatus
event_pattern_matchingok
schema_registry_and_pipesok
archives_replays_connections_api_destinations_endpointsok

Released under the MIT License.