Publish once, match separately
How routing rules match an event’s source, type, or payload fields to decide which destinations receive it without changing what the producer publishes.
A producer publishes what happened, not a separate message for each team. Here, a Lambda function publishes deployment events to one Amazon EventBridge event bus.
Each rule on the bus checks the published event against its own pattern. A match selects the rule’s target for delivery. We use one rule per destination because the two queues need different sets of events.
Stage 1 of 7: The Lambda publisher creates an event describing a deployment outcome, including its source, event type, and environment.
Next up: Complete the diagram on what you just read.
AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.