AWS Lambda provides many configuration options, including customizing how much memory is needed for your Lambda function, maximum execution time, VPC network configuration, creating versions and aliases for your functions for production, and how to set environmental variables and use them in your AWS Lambda functions.
Configuring options for AWS Lambda
Memory configuration
With AWS Lambda, the only compute resource that you can customize is memory. You can't choose the CPU power that you want for your AWS Lambda function. The AWS Lambda (FaaS) platform allocates CPU resources proportional to the memory that you have chosen for your Lambda function by applying the same ratio as a general-purpose Amazon EC2 instance type...