lib/plugins/aws/customResources/resources/eventBridge/lib/eventBridge.js/removeRuleConfiguration
function removeRuleConfiguration(config) {
  const { ruleName, eventBus, region } = config;
  const eventBridge = new EventBridge({ region });

  const EventBusName = getEventBusName(eventBus);

  return eventBridge
    .deleteRule({
      Name: ruleName,
      EventBusName,
    })
    .promise();
}