Inferring schemas from event bus events in EventBridge - Amazon EventBridge

Inferring schemas from event bus events in EventBridge

Amazon EventBridge can infer schemas by discovering events. To infer schemas, you turn on event discovery on an event bus and every unique schema is added to the schema registry, including those for cross-account events. Schemas discovered by EventBridge appear in Discovered schemas registry on the Schemas page.

If the contents of events on the event bus change, EventBridge creates new versions of the related EventBridge schema.

Considerations when starting schema discovery on an event bus

Take into account the following considerations before enabling schema discover on an event bus:

  • Enabling event discovery on an event bus can incur a cost. The first five million processed events in each month are free.

  • EventBridge infers schemas from cross-account events by default but you can disable it by updating the cross-account property. For more information, see Discoverers in the EventBridge Schema Registry API Reference.

Note

Schema discovery is not supported for event buses encrypted using a customer managed key. To enable schema discovery on an event bus, choose to use an AWS owned key. For more information, see KMS key options.

To start or stop schema discovery on an event bus (console)
  1. Open the Amazon EventBridge console at https://console.aws.amazon.com/events/.

  2. In the navigation pane, choose Event buses.

  3. Select the event bus on which you want to start or stop schema discovery.

  4. Do one of the following:

    • To start schema discovery, choose Start discovery.

    • To stop schema discovery, choose Delete discovery.

To start or stop schema discovery on an event bus (AWS CLI)