Mixing Node + Python in a single application


I would like to mix, in a single application, Javascript functions with Python and / or Java functions.
The main motivation behind this is that I love to code with Node, while some SDKs such as the AWS Encryption SDK are available only for Python or Java.
The basic idea is to call from Node API functions the encryption lambdas written in Python.
Is it possible with Serverless with a single application, or do I need two different deployments?



You can set the runtime per function. https://serverless.com/framework/docs/providers/aws/guide/functions/

1 Like