This topic describes how to create a custom event source of the Message Queue for RabbitMQ type in the EventBridge console.


The regions that support custom event sources of the Message Queue for RabbitMQ type are subject to the regions where EventBridge is available.


  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 the name of the target event bus.
  5. In the left-side navigation pane, click Event Sources.
  6. On the Event Sources page, click Add Event Source.
  7. In the Add Custom Event Source panel, enter a name in the Name field and a description in the Description field, select Message Queue for RabbitMQ from the Event Provider drop-down list, set the following parameters, and then click OK.
    • Region: Select the region where the created Message Queue for RabbitMQ instance resides.
    • Message Queue for RabbitMQ Instance: Select the created Message Queue for RabbitMQ instance.
    • Vhost: Select the created vhost.
    • Queue: Select the created queue.

Sample event


For more information about the parameters defined in the CloudEvents specification, see Overview.

The following table describes the parameters in the data block.

Parameter Type Example Description
body Map The content of the message.
Hello String EventBridge The user data.
props Map The properties of the message.
contentEncoding String utf-8 The format in which the content of the message is encoded.
messageId String f7622d51-e198-41de-a072-77c1ead7**** The ID of the message. The ID of each message is unique.
envelope Map The envelope information about the message.
deliveryTag Int 98 The tag of the message.
exchange String N/A The name of the exchange that sent the message.
redeliver Boolean false Indicates whether the message can be resent. Valid values:
  • true: The message can be resent.
  • false: The message cannot be resent.
routingKey String housekeeping The routing rule of the message.