ExitAmazon EventBridge: event bus rules and targets1 / 9
Explanation

Route events by their contents

How event patterns route source events to authorized targets to trigger processing or deliver monitoring alerts, including handling failed deliveries. · associate

An event bus receives events describing things that happened. A rule uses an event pattern to select events and sends matches to its configured targets. Producers do not need to call those targets themselves.

Patterns can match envelope fields such as source and detail-type, plus nested fields inside detail. Specified fields must match together; fields omitted from the pattern do not restrict matching. Multiple values listed for one field are alternatives.

This design uses two rules on the default bus: one selects object creation in a particular S3 bucket for processing, and another selects CloudWatch alarm transitions into ALARM for notifications. An event that matches neither rule invokes neither target.

Object-created eventsAlarm-state eventsMatching object eventsMatching ALARM eventsFailed Lambda delivery
Amazon S3incoming-data bucket: EventBridge enabled
Amazon CloudWatchCloudWatch alarm state changes
Amazon EventBridgeDefault bus: object-created and ALARM rules
AWS LambdaObject-processing function
Amazon Simple Notification Service (Amazon SNS)Monitoring alert topic
Amazon Simple Queue Service (Amazon SQS)Standard queue: Lambda target delivery DLQ

1 / 6 Enable EventBridge notifications on the incoming-data S3 bucket to publish its events. CloudWatch also produces alarm state-change events.

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.