Quickly generate input transforms for Amazon EventBridge.
The ability to transform your events before they reach your targets is a great feature from Amazon EventBridge.
Amazon EventBridge gives us a great serverless offering to create robust and resilient Event Driven Architectures and payload transformation can play a huge part in that process.
Why would you want to change your event payloads before they reach your targets?
- Remove PII data from Events (if consumers don't want)
- Tidy up data before it reaches target
- Easier integration with targets if events are in structured format
- And much more...
Creating your Input Paths and Input Templates can be quite a manual process, so I decided to experiment and create an online editor/tool that can help!
EventBridge Transformer allows you to quickly create Input Paths and Input Templates using your Event as the source!
EventBridge Transformer uses custom editors to help you build your Input Paths
and Input Templates
.
You use your event as the source of the transformations and click on the properties you want to map. The editors will map these into Input Paths
and Input Templates
. You can then use these with Amazon EventBridge to transform your event payloads before they reach your targets.
This project is experimental any problems are issues feel free to raise GitHub issues or just reach out..
-
Paste your EventBridge event into the "Event Payload" editor.
-
Click on the properties within your event to generate your EventBridge input path. Then click on fields in the input path to generate your input template.
-
Once you are happy with your input paths and templates you can quickly copy the format to clipboard using the editor icons.
If you have any questions, features or issues please raise any issue or pull requests you like. I will try my best to get back to you.
MIT.