Limitations and gotchas Only Python and NodeJS runtimes are supported. Docs. Maximum memory size is 128MB and timeout is 5s. Does not support environment variables. So either hardcode or call other services (SSM) to retrieve parameters/secrets.