
Publish a Protobuf-encoded event to an Amazon EventBridge custom event bus with an AWS Glue Schema Registry, and deliver the decoded JSON to an AWS Lambda function.
eventsv2 API) using PutRawEvents together with an AWS Glue Schema Registry, and then deliver that same event to a Lambda subscriber.OrderPlaced event from a .proto definition and wraps it in the Glue wire format (including the message-index that tells Glue which message type to decode as). EventBridge decodes the Protobuf against the Glue registry server-side and delivers the payload as plain JSON, so the consumer Lambda needs no Protobuf library and logs the event to CloudWatch. A matching orderId, fields, and metadata show the delivered event matches the published one.git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/eventbridge-custom-protobuf/python/samscripts/generate.shsam buildsam deploy --guided --capabilities CAPABILITY_NAMED_IAMsam delete