Generating code bindings for event schemas in Amazon EventBridge - Amazon EventBridge
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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
  1. Open the Amazon EventBridge console at https://console.amazonaws.cn/events/.

  2. In the navigation pane, choose Schemas.

  3. Find a schema that you want code bindings for, either by browsing the schema registries, or by searching for a schema.

  4. Select the schema name..

  5. On the Schema details page, in the Version section, choose Download code bindings.

  6. On the Download code bindings page, select the language of the code bindings you want to download.

  7. 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.