'Aws Lambda - Using java11 and node.js together

I have an AWS java 11 lambda that uses node.js as well - meaning a java application that needs to run something on node.js as well. Is there a way to deploy a lambda with 2 runtimes (java11 and node.jsX)?

I know I can add a layer to the lambda with the relevant node.js binaries and use it, but it's not ideal.

Any ideas are welcome.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source