AWS Lambda now supports Python 3.8

To get started deploying your Python code as a Lambda function, upload your function code via the AWS CLI or AWS Lambda console and select the Python 3.8 runtime. Lambda takes care of running and scaling 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. If you have existing Python functions you can migrate them to the new runtime by making any necessary changes to their code for compatibility with Python 3.8, and changing the function’s runtime configuration to “python3.8”. 



https://aws.amazon.com/about-aws/whats-new/2019/11/aws-lambda-now-supports-python-3-8/