SnsNotificationMessage variant for EventBridge
Type: Feature
Is your feature request related to a problem? Please describe. In our projects we've opted for EventBridge rather than SNS. EventBridge also has a wrapper, similar to that of SNS, but some different fields. Currently we are unwrapping this message to get the to the actual data in our own in-house framework, but feel that there could be a case for including a variant of the existing SnsNotificationMessage annotation, but for the EventBridge wrapper.
Describe the solution you'd like
A new annotation, such as EventBridgeMessage, as well as a corresponding message converter, similar to SnsMessageConverter.
Describe alternatives you've considered
Defining a model like record EventBridgeMessage<T>(T detail) { }.
Hey @frjonsen, yep, I think this does make sense.
If you could provide a prototype PR with an integration test so we can have a clearer notion of how that looks that'd be great.
Thanks!