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

  if (eventBus) {
    if (eventBus.startsWith('arn')) {
      return Promise.resolve();
    }

    const eventBridge = new EventBridge({ region });
    return eventBridge
      .deleteEventBus({
        Name: eventBus,
      })
      .promise();
  }
  return Promise.resolve();
}