-
Notifications
You must be signed in to change notification settings - Fork 561
Home
AWS Serverless Java Container makes it easy to run your Spring, Jersey, or Spark applications using AWS Lambda and Amazon API Gateway. The library defines a set of interfaces and abstract classes required to support other frameworks in the future.
-
Spring -
aws-serverless-java-container-spring
-
Jersey -
aws-serverless-java-container-jersey
-
Spark -
aws-serverless-java-container-spark
The primary purpose of the library is to act as a container; it receives events object from Lambda and translates them to a request object for the framework. Similarly, it translates responses from the framework into valid return values for API Gateway.
To translate incoming events, the library declares two abstract classes: The RequestReader
and the ResponseWriter
. Both these classes use generic types for the input and output objects. Implementing libraries, such as the Jersey one, extend these classes to support their types.
Out of the box, the library supports proxy integration events.