This article assumes you already have a working integration between AWS API Gateway and Amazon EventBridge.

It seems like you’re really trying to avoid using another lambda to handle the payload transformation. Good choice*. The number of lambdas in a serverless infrastructure can quickly get out-of-hand and you should avoid creating unnecessary resources whenever it’s possible.

Amazon REST API Gateway offers a solution in the form of Mapping templates. The basic passthrough integration looks as follows:

  • DetailType: Identifies, in combination with the Source

Veygo Engineering

A software development blog by the folks at veygo.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store