Lambda supports multiple languages through the use of runtimes.For a function defined as a container image, you choose a runtime and the Linux distribution when you create the container image.To change the runtime, you create a new container image. When you use a .zip file archive for the deployment package, you choose a runtime
https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html