AWS allows to create Lambda function with Java 8
(OpenJDK 8) as runtime.
I need to create a simple function using Open JDK 1
As Arun Gupta said, they are working on Corretto 11 builds corresponding to Open JDK 11 and will release with time for testing before April, 2019...
However, it is still possible to add a custom runtime, which allow to "implement an AWS Lambda runtime in any programming language".
There is no example for JDK 11
in official AWS documentation, but I found a project, which use a custom runtime of 25MB, build from JDK 11
, with jlink
. You can take a look at this link