Posted On: Nov 19, 2018
You can now develop your AWS Lambda functions using Python 3.7 in addition to the already supported 2.7 and 3.6 versions. Python 3.7 is the newest major release of the Python language, and it contains many new features such as support for data classes, customization of access to module attributes, and typing enhancements.
To get started deploying your Python code as a Lambda function, you simply upload your function code via the AWS CLI or AWS Lambda console and select the Python 3.7 runtime. Lambda takes care of everything required to run and scale your function with high availability. You can also use the AWS Serverless Application Model (SAM) to deploy and manage your serverless application authored in Python. Customers with existing Python functions can switch to the new runtime by editing their function configuration to set the runtime to “python3.7” and making necessary changes to be compatible with the new runtime.