This topic describes how to create, view, and delete a custom event bus in the EventBridge console.

Create a custom event bus

  1. Log on to the EventBridge console.
  2. In the left-side navigation pane, click Event Buses.
  3. In the top navigation bar, select a region.
  4. On the Event Buses page, click Create in the Custom Event Buses section.
  5. Complete the Create Custom Event Bus wizard.
    1. In the Event Bus step, set the Name and Description parameters and click Next Step.
    2. Optional:In the Event Source step, set the Event Source Name and Description parameters, select an event provider, configure resource information, and then click Next Step.
      Note The following Alibaba Cloud services can be added as custom event sources: Message Queue for Apache RocketMQ, Message Queue for RabbitMQ, and MNS.
      If you do not want to create a custom event source, click Skip.
    3. Optional:In the Event Rule step, set the Event Rule Name and Description parameters, specify an event pattern in the Event Pattern Content code editor, and then click Next Step.
      If you do not want to create an event rule and configure an event target, click Skip and then click OK in the Skip Subsequent Steps message.
    4. Optional:In the Event Target step, configure an event target and click Create.
      Notice
      • You can configure a maximum of five event targets for an event rule.
      • The event targets that you want to configure for an event rule must reside in the same region as the event rule.
      EventBridge supports the following event targets:

      You can select an event transformation method as needed. For more information, see Event transformation.

      If you do not want to configure an event target, click Skip and then click OK in the Skip Subsequent Steps message.

View a custom event bus

  1. Log on to the EventBridge console.
  2. In the left-side navigation pane, click Event Buses.
  3. In the top navigation bar, select a region.
  4. On the Event Buses page, find the custom event bus that you want to view and click Details in the Actions column.
    The Event Bus Overview page displays the basic information and endpoint information about the custom event bus.

Delete a custom event bus

Notice You must delete all event sources and event rules created in a custom event bus before you delete the custom event bus. Otherwise, the custom event bus fails to be deleted.
  1. Log on to the EventBridge console.
  2. In the left-side navigation pane, click Event Buses.
  3. In the top navigation bar, select a region.
  4. On the Event Buses page, find the custom event bus that you want to delete and click Delete in the Actions column.
  5. In the Note message, read the note and click OK.
  6. Optional:In the Verify Account Security dialog box, click Obtain Verification Code, enter the verification code in the Verification Code field, and then click OK.