AWS Lambda now supports Python 3.10 as a managed runtime and container base image.
- This enables developers to leverage enhancements such as pattern matching, improved error handling, and better resource management.
- To deploy Lambda functions using Python 3.10, upload the code via the Lambda console or use AWS CLI, AWS SAM, or CloudFormation.
- Existing functions can be migrated by reviewing the code for compatibility and updating the function runtime.
- AWS will apply updates to Python 3.10 automatically.