You can use event rules to filter events and route them to HTTPS endpoints. This topic describes the prerequisites and procedure for routing custom events to HTTPS endpoints. It also describes how to verify the result.
Before you start
Step 1: Add a custom event source
Log on to the EventBridge console. In the left-side navigation pane, click Event Buses.
In the top navigation bar, select a region. On the Event Buses page, click the name of the custom event bus that you want to manage.
In the left-side navigation pane, click Event Sources and then click Add Event Source.
In the Add Custom Event Source panel, configure the Name and Description parameters, select Custom Application from the Event Provider drop-down list, and then click OK.
Step 2: Create an event rule
Log on to the EventBridge console. In the left-side navigation pane, click Event Buses.
In the top navigation bar, select a region. On the Event Buses page, click the name of the event bus that you want to manage.
In the left-side navigation pane, click Event Rules. On the page that appears, click Create Rule.
In the Create Rule wizard, complete the following steps:
In the Configure Basic Info step, configure the Name and Description parameters. Then, click Next Step.

In the Configure Event Pattern step, set the Event Source Type parameter to Custom Event Source, select the event source that you created, and then click Next Step.

In the Configure Targets step, configure the parameters described in the following table. Then, click Create.

Parameter
Example
Description
Service Type
HTTPS
Select HTTPS from the drop-down list.
URL
https://******
Specify the HTTPS endpoint.
Body
Complete Event
The method used to transform events. Valid values:
Complete Event
Partial Event
Fixed Value
Template
For more information about event transformation, see Event transformation.
Network Type
Internet
The network type. Valid values:
Internet
VPC: If you select this value, you must create a VPC, vSwitch, and security group in advance.
Retry Policy and Dead-letter Queue
None
For information about the methods used to configure the retry policy and dead-letter queue, see Retry policies and dead-letter queues.
Step 3: Publish an event
Log on to the EventBridge console. In the left-side navigation pane, click Event Buses.
- In the top navigation bar, select a region.
On the Event Buses page, find the desired event bus and click Publish Event in the Actions column.
NoteYou can publish events only to custom event buses in the EventBridge console.
In the Publish Event To Custom Event Bus panel, select the created custom event source from the Custom Event Source drop-down list, enter the event content in the Event Body code editor, and then click OK.
NoteFor information about parameters included in events, see Overview.
After you click OK, the event ID automatically copied.
Verify the result
Go to the Overview page of the desired event bus.
In the left-side navigation pane, click Event Tracking. Then, click the Query By Event ID tab.
Paste the event ID into the Event ID field. Then, click Query.
Click Event Trace in the Actions column of the desired event to check whether the event is delivered.
