AWS allows to create Lambda function with Java 8
(OpenJDK 8) as runtime.
I need to create a simple function using Open JDK 1
I doubt you can do that yet. According to AWS:
"We are working on Corretto 11 builds corresponding to Open JDK 11 and will release with time for testing before April, 2019."
https://forums.aws.amazon.com/thread.jspa?messageID=875742&tstart=0 https://aws.amazon.com/blogs/opensource/amazon-corretto-no-cost-distribution-openjdk-long-term-support/