tencent cloud


Event Structure

Last updated: 2022-05-05 16:02:46

An event is a data record of a status change. This document describes the details of event parameters in EventBridge.

Event release from an event source to EventBridge needs to comply with CloudEvents specifications. For more information, please see CloudEvents - Version 1.0.

Below is a sample structure of event release from an event source to EventBridge:

"datacontenttype": "application/json;charset=utf-8",

The event parameters are as detailed below:

Field Description Data Type
specversion Event structure version (CloudEvents version. Currently, only v1.0 is supported.) String
id ID returned by PUT Event. String
type Type of the event input through PUT Event. The value is COS:Created:PostObject by default for a Tencent Cloud service. Different types are separated with colons. String
source Event source (which is required for a Tencent Cloud service event and is the abbreviation of subject). The value is xxx.cloud.tencent by default for a Tencent Cloud service. String
subject Event source details, which can be customized. QCS description such as qcs::dts:ap-guangzhou:appid/uin:xxx is used for a Tencent Cloud service by default. String
time Event time, which is a GMT+0 timestamp in milliseconds such as 1615430559146. Timestamp
datacontenttype Data structure declaration. String
region Region information. String
data Details of the event input through PUT Event. Json

There are two types of events published from event sources to EventBridge:

  • Tencent Cloud service event
    Tencent Cloud services are automatically connected to EventBridge as event sources.
  • Custom application event
    To use your application as an event source, you need to configure a connector and deliver events to applications supported by the connector, or use an API/SDK to connect to EventBridge.
Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support