Creating an Amazon EventBridge event bus - Amazon EventBridge
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Creating an Amazon EventBridge event bus

You can create a custom event bus to receive events from your applications. Your applications can also send events to the default event bus. When you create an event bus, you can attach a resource-based policy to grant permissions to other accounts. Then other accounts can send events to the event bus in the current account.

The following video goes through creating event buses:

To create a custom event bus
  1. Open the Amazon EventBridge console at https://console.amazonaws.cn/events/.

  2. In the navigation pane, choose Event buses.

  3. Choose Create event bus.

  4. Enter a name for the new event bus.

  5. Configure the event bus:

    • Specify a resource-based policy by doing one of the following:

      • Enter the policy that includes the permissions to grant for the event bus. You can paste in a policy from another source or enter the JSON for the policy. You can use one of the example policies and modify it for your environment.

      • To use a template for the policy, choose Load template. Modify the policy as appropriate for your environment, including adding additional actions that you authorize the principal in the policy to use.

      For more information about granting permissions to an event bus through resource-based policies, see Permissions for Amazon EventBridge event buses.

    • Enable an archive (optional)

      You can create an archive of events so that you can easily replay them at a later time. For example, you might want to replay events to recover from errors or to validate new functionality in your application. For more information, see Amazon EventBridge archive and replay

      1. Under Archives, choose Enabled.

      2. Specify a name and description for the archive.

    • Enable schema discovery (optional)

      Enable schema discovery to have EventBridge automatically infer schemas directly from events running on this event bus. For more information, see Amazon EventBridge schemas

      1. Under Schema discovery, choose Enabled.

    • Specify tags (optional)

      A tag is a custom attribute label that you assign to an Amazon resource. Use tags to identify and organize your Amazon resources. Many Amazon services support tagging, so you can assign the same tag to resources from different services to indicate that the resources are related. For more information, see Amazon EventBridge tags

      1. Under Tags, choose Add new tag.

      2. Specify a key and, optionally, a value for the new tag.

  6. Choose Create.