You never want to store your service keys / credentials in version control. IAM policies for S3 allow for fine grain access control. You only give access to the bucket that contains env vars to people with authority to deploy code. See the jaws env
command for more information
The smaller the size of code, the quicker your container gets up and running. The less code in the execution path, the quicker your runtime VM returns a result. Both of these statements verified by AWS Lambda engineers. See this issue for an in depth background.
Yes, one lambda can use the “nodejs” runtime and another can use “java8”. When the JAWS-cli’s deploy command is used, the JAWS-cli checks the Runtime of the lambda specified in jaws.json and puts it through a build pipeline designed for that Runtime in particular.
Any type. A jaws-module can be a simple lambda function, a group of lambda functions.