This release introduces support for Amazon EventBridge schema registry. sam init now includes additional options to create an EventBridge app from scratch, with a specific event schema as a trigger. This will automatically generate strongly-typed class files for the event in your serverless application, including the AWSEvent payload, a marshaller, and an EventBridge rule in your SAM template. You can easily try out the feature by using one of the existing aws.events service schemas available in the schema registry.
Changelog