When I had to configure Lambda Proxy Integrations in AWS API Gateway for the second time for a week I thought about extracting Java classes in a small library for later reuse.

Bot input and output formats of a Lambda with Proxy Integration are well defined and described on AWS docs site. However there is no reference implementation for any language available and developers have to implement those POJOs (speaking in Java terms) themselves over and over again.

So, I decided to publish yet-another-aws-lambda-proxy-integration-java-library, or simply lambda-proxy-integration-java. It is available via JCenter by by.dev.madhead.utils.lambda_proxy_integration_java:model:${version} coordinates with only one line in your Gradle config (assuming you’re already using jcenter() repo):

repositories {
  jcenter()
}

dependencies {
  implementation("by.dev.madhead.utils.lambda_proxy_integration_java:model:1.0.0")
}
comments powered by Disqus