How to remove a cloudwatch event rule using aws cli?
Solution 1:
You need to use the events
service delete-rule
subcommand:
aws events delete-rule --name <rule_name>
You need to also make sure you have deleted any of the event's targets with events remove-targets
.