Certablo
← Knowledge Base

Amazon EventBridge: Event Routing

Event-driven routing through event buses, rules, JSON event patterns and targets, with Pipes for point-to-point integrations and cross-account event architectures.

CLF-C02AIP-C01SAA-C03DVA-C02

Visual overview

DATA & EVENT FLOWIngest, buffer or route, transform, query, and present according to the workload
01IngestStreams · events · messages
02DecoupleQueues · topics · buses
03ProcessETL · big data · workflows
04AnalyzeSQL · warehouse · dashboards
Analytics and integration are connected but distinct: one moves and coordinates data or events; the other turns stored or streaming data into answers.
AWS SERVICE MAPContent-based event routing

EventBridge matches structured events and sends selected events to processing or buffering targets.

Amazon EventBridgeMatch event patterns
Amazon SQSBuffer selected events
AWS LambdaProcess routed work
EXAM-RELEVANT MECHANICS

Technical reference

EventBridge routing is a declarative match-and-deliver pipeline. Keep event selection, transformation, delivery, and target processing as distinct stages.

Event envelopesource · detail-type · detail · metadata

Rules can match top-level metadata and nested detail fields instead of relying on topic names alone.

RoutingBus → rule → target

Every rule independently evaluates incoming events; one event can activate several matching rules.

Pattern semanticsDeclared fields must match

Fields omitted from the pattern are ignored; documented operators add prefix, numeric, existence, and other matching behaviors.

Target shapingInput transformer / target parameters

Rules can transform or select event data for targets, depending on the target integration, without changing the original event on the bus.

PipesSource → filter → enrich/transform → target

Pipes implement supported point-to-point integrations without making a shared event bus the routing center.

Failure handlingRetry policy + DLQ where supported

Delivery failure can be retried or captured separately from processing errors that occur after a target accepts the event.

An event bus routes events by meaning

Amazon EventBridge provides event-driven integration for events from AWS services, custom applications, and supported partner sources. An event bus receives events, rules evaluate them, and matching rules send events to configured targets. Unlike a simple topic subscription, a rule can inspect the structured event and route it according to fields such as source, detail-type, and values nested inside detail.

The default event bus receives events from supported AWS services. Custom event buses can create application or organizational routing boundaries, and partner event buses support integrated SaaS sources where available. Event buses can also participate in cross-account and cross-Region architectures through explicitly configured bus targets and resource permissions.

Event patterns are declarative JSON filters

An EventBridge event pattern specifies only the fields that matter for a match; fields omitted from the pattern are ignored by that rule. Patterns can match top-level event metadata and nested detail values and support documented matching operators for more expressive selection. This lets consumers subscribe to business-relevant events without requiring producers to know every downstream destination.

Rules should be designed around stable event contracts. A pattern that depends on an incidental field or on a string generated for human display can make routing fragile. EventBridge does not turn every API call into an event automatically; scenarios should verify that the relevant AWS service emits the needed event or that a producer explicitly calls PutEvents.

  • Only fields present in the event pattern participate in matching.
  • One event can match multiple rules and therefore reach multiple target paths.
  • Targets need the permissions required for EventBridge to invoke or deliver to them.
  • Cross-account buses require both routing configuration and resource-based authorization.

Event buses and Pipes solve different integration shapes

Event buses are well suited to many-to-many event routing where multiple producers and rules share an event fabric. EventBridge Pipes target a more direct source-to-target integration: a pipe reads from a supported source and can apply filtering, optional enrichment, and transformation before sending to one target. This reduces glue code for point-to-point event paths without requiring a shared event bus.

For failures, event-driven designs should distinguish retry behavior at the EventBridge delivery layer from failure handling inside the target. Supported rules can use dead-letter queues and retry policies for target delivery. Once a Lambda function or downstream workflow accepts an event, its own retry/idempotency model becomes a separate concern.

Key takeaways

  1. 01

    EventBridge event buses route structured events through rules to targets.

  2. 02

    Event patterns match selected event fields; unspecified fields do not affect a rule match.

  3. 03

    The default bus receives supported AWS service events; custom buses create application/organizational routing boundaries.

  4. 04

    EventBridge Pipes provide source-filter/enrich-transform-target integration for supported point-to-point paths.

  5. 05

    Delivery retries/DLQs and target-side processing failures are separate failure boundaries.

Official AWS sources

Use these primary AWS resources for the source material behind this article and for deeper reference.