Provision Event Bus Routing
A 4-step recipe with Amazon EventBridge. We can help you get access.
Recipe · 4 steps
Provision Event Bus Routing
with Amazon EventBridge
Create an event bus, add a rule, attach targets, and verify them.
- Create the custom event bus that will host the routing rule.
- Create a rule on the new event bus that matches the supplied event pattern and is enabled immediately.
- Attach the supplied targets to the rule on the event bus.
- Read the targets back from the rule to confirm they registered.
What you'll need to have ready
- eventBusName: The name of the custom event bus to create.
- ruleName: The name of the rule to create on the event bus.
- eventPattern: The event pattern (JSON string) the rule matches against.
- ruleDescription: An optional human-readable description for the rule.
- targets: The list of Target objects to attach to the rule.
For your developer
Arazzo workflow amazon-eventbridge:provision-event-bus-routing, 4 operations: CreateEventBus → PutRule → PutTargets → ListTargetsByRule. Specs on APIs.io.