Create, view, edit, and delete schemas and schema versions in the EventBridge console.
Prerequisites
Activate EventBridge and grant permissions
Schemas from official cloud service event sources are read-only. You cannot create, modify, or delete them in the console.
Create a schema
-
Log on to the EventBridge console.
-
In the navigation pane on the left, click Schemas.
-
In the top menu bar, select a region.
-
On the Schemas page, click the Custom Schema Groups tab, and then click Create Schema.
-
In the Create Schema panel, enter the schema ID, schema description, and schema content, select a compatibility mode, and click OK.
NoteThe compatibility mode affects whether changes to schema fields are accepted.
View a schema
-
Log on to the EventBridge console.
-
In the navigation pane on the left, click Schemas.
-
In the top menu bar, select a region.
-
On the Schemas page, click the Custom Schema Groups tab or the Schema Groups for Cloud Service Events tab, find the target schema, and click Details in the Actions column.
The Schema Details page displays the basic information, schema content, and version list.
Edit a schema
-
Log on to the EventBridge console.
-
In the navigation pane on the left, click Schemas.
-
In the top menu bar, select a region.
-
On the Schemas page, click the Custom Schema Groups tab, find the target schema, and click Edit in the Actions column.
-
In the Modify Schema panel, modify the schema description or schema content, and click OK.
Delete a schema
-
Log on to the EventBridge console.
-
In the navigation pane on the left, click Schemas.
-
In the top menu bar, select a region.
-
On the Schemas page, click the Custom Schema Groups tab, find the target schema, and click Delete in the Actions column.
-
In the Show Tooltip dialog box, read the message, and then click Confirm.
WarningDeleted schemas cannot be recovered.
Register a schema version
EventBridge does not create a new version if its content is identical to the previous version.
-
Log on to the EventBridge console.
-
In the navigation pane on the left, click Schemas.
-
In the top menu bar, select a region.
-
On the Schemas page, click the Custom Schema Groups tab, find the target schema, and click Details in the Actions column.
-
On the Schema Details page, click the Versions tab and click Register New Version.
-
In the Register New Version panel, enter the Content, and click OK.
View a schema version
-
Log on to the EventBridge console.
-
In the navigation pane on the left, click Schemas.
-
In the top menu bar, select a region.
-
On the Schemas page, click the Custom Schema Groups tab or the Schema Groups for Cloud Service Events tab, find the target schema, and click Details in the Actions column.
-
On the Schema Details page, click the Versions tab, find the target version, and click Details in the Actions column.
The Version Details page displays the basic information and schema version definition.
Delete a schema version
-
Log on to the EventBridge console.
-
In the navigation pane on the left, click Schemas.
-
In the top menu bar, select a region.
-
On the Schemas page, click the Custom Schema Groups tab, find the target schema, and click Details in the Actions column.
-
On the Schema Details page, click the Versions tab, find the target version, and click Delete in the Actions column.
-
In the Show Tooltip dialog box, read the message, and then click Confirm.
WarningDeleted schema versions cannot be recovered.