Decommission Rule
A 3-step recipe with Amazon EventBridge. We can help you get access.
Recipe · 3 steps
Decommission Rule
with Amazon EventBridge
Remove a rule's targets and then delete the rule.
- List the rule's current targets before removing them.
- Remove the supplied targets from the rule, forcing removal if needed.
- Delete the now-empty rule from the event bus.
What you'll need to have ready
- ruleName: The name of the rule to decommission.
- eventBusName: The name or ARN of the event bus the rule lives on.
- targetIds: The IDs of the targets to remove from the rule.
For your developer
Arazzo workflow amazon-eventbridge:decommission-rule, 3 operations: ListTargetsByRule → RemoveTargets → DeleteRule. Specs on APIs.io.