Generating code bindings for event schemas in Amazon EventBridge
You can generate code bindings for event schemas to speed up development in Golang, Java, Python, and TypeScript. Code bindings are available for Amazon service events, schemas you create, and for schemas you generate based on events on an event bus. You can generate code bindings for a schema by using the EventBridge console, the EventBridge Schema Registry API, or in your IDE with an Amazon toolkit.
To generate code bindings from an EventBridge schema
Open the Amazon EventBridge console at https://console.amazonaws.cn/events/
. -
In the navigation pane, choose Schemas.
-
Find a schema that you want code bindings for, either by browsing the schema registries, or by searching for a schema.
-
Select the schema name..
-
On the Schema details page, in the Version section, choose Download code bindings.
-
On the Download code bindings page, select the language of the code bindings you want to download.
-
Select Download.
It may take a few seconds for your download to begin. The downloaded file is a zip file of code bindings for the language you selected.