How to execute AWS lambda with Open JDK 11+ as custom runtime?

后端 未结 4 1532
离开以前
离开以前 2021-02-20 00:49

AWS allows to create Lambda function with Java 8 (OpenJDK 8) as runtime. I need to create a simple function using Open JDK 1

4条回答
  •  天涯浪人
    2021-02-20 01:20

    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

提交回复
热议问题