Event summary
Updated at:2025-11-03
Event summary
An event is a data record of state changes. This document introduces the event parameter details provided of event bus EventBridge. Event sources publishing events to event bus EventBridge must comply with the CloudEvents specification. For more information on the CloudEvents specification, refer to CloudEvents 1.0. Below is an example event that event sources publishing events to event bus EventBridge.
Plain Text
1{
2 "data":{
3 "meetingName":"swqd",
4 "groupId":"456",
5 "action":"camera_off",
6 "time":1590592527490,
7 "info":"System exception occurred",
8 "advice":"Please contact the administrator"
9 },
10 "id":"45ef4dewdwe1-7c35-447a-bd93-fab****",
11 "source":"BCE_BCC",
12 "specversion":"1.0",
13 "type":"EDAPMetaDataChangeStatus",
14 "subject":"i-xxxxx",
15 "time":"2020-11-19T21:04:41+08:00",
16 "resourceType":"Instance",
17 "level": "WARNING",
18 "accountId":"453xxxxxxxxxxxxxxxxxx",
19 "eventBusId":"eb-xxxxxx",
20 "eventBusName":"cloud",
21 "eventSourceAlias":"Cloud Server",
22 "eventAlias":"BCC event exception",
23 "eventAliasEn":"EDAPMetaDataChangeStatus"
24 "region":"bj",
25 "recvTimestamp": "2020-11-19T21:04:41+08:00"
26}
| Parameters | Types | Required or not | Example value | Description |
|---|---|---|---|---|
| data | Map<String, Object> | No | ![]() |
Event content. JSON object. The content is determined by the service initiating the event. CloudEvents may include the context provided by the event producer at the time of occurrence, encapsulated in the Data. It can be empty. |
| id | String | No | 45ef4dewdwe1-7c35-447a-bd93-fab**** | Event ID. A unique identifier for an event. The sender must ensure that the combination of source and ID is unique. This can be null; if null, the system will automatically generate it. |
| source | String | Yes | BCE_BCC | Event source. The service providing the event, identifying the nature of the event that occurred. |
| specversion | String | No | 1.0 | CloudEvents protocol version. It can be empty |
| type | String | Yes | EDAPMetaDataChangeStatus | Event type. Describes event types associated with the event source. |
| datacontenttype | String | No | application/json;charset=utf-8 | Data content format. datacontenttype supports only the application/json format. This can be empty. |
| subject | String | No | i-CkAFAIam | Event subject. JSON data contains identifiers for resources involved in the event. In the publish-subscribe model, subscribers typically subscribe to events sent by the source. When the source contains substructures, using only the source cannot clearly define specific events. The subject parameter provides an explanation for content in the subscription filtering scenario that cannot be interpreted by data. It can be empty. |
| time | Timestamp | No | 2020-11-19T21:04:41+08:00 | Event occurrence time, e.g., 2020-11-19T21:04:41+08:00. Default value. Refer to the time when the system receives the event. It can be empty. |
| resourceType | String | No | Instance | Cloud product subtype. This value in the event can be defined by the user. It can be empty. |
| level | String | No | WARNING | Event level, user-defined. It can be empty. |
| accountid | String | No | 123456789098**** | Cloud account ID. This can be empty and is retrieved from the request headers by default. |
| eventBusId | String | Yes | eb-xxxxxx | The event bus ID that receives the events. |
| eventBusName | String | No | cloud | Event bus name for receiving events. |
| eventSourceAlias | String | No | Cloud Server | The Chinese alias of the event source. This can be empty. |
| eventAlias | String | No | BCC event exception | The Chinese alias of the event type. This can be empty. |
| eventAliasEn | String | No | EDAPMetaDataChangeStatus | The English alias for the event type. This field can be left blank. |
| region | String | No | bj | Event region. |
| recvTimestamp | Timestamp | No | 2020-11-19T21:04:41+08:00 | The timestamp when the event was received: 2020-11-19T21:04:41+08:00. |

