Home icon

Leverage Amazon Q to upgrade Lambda runtime functions

AWS Cloud Operations Blog



This article discusses how to leverage Amazon Q Developer, an AI-powered assistant, to help upgrade Lambda function runtimes from older versions like Python 3.7 to newer versions like 3.12. It provides a step-by-step guide on identifying deprecated Lambda runtimes, using Amazon Q to review and modify the code, and deploying the updated code to AWS Lambda.

Specifically, the article covers:

  • How to identify deprecated Lambda function runtimes using Trusted Advisor, AWS Health Dashboard, and programmatically
  • Prerequisites for using Amazon Q Developer, like installing it in your IDE and setting it up
  • Step-by-step instructions to review and update your Lambda function code using Amazon Q Developer, including opening the code file, prompting Q Developer for suggestions, generating modified code, and deploying the updated code to AWS Lambda
  • Conclusion highlighting the benefits of using Amazon Q Developer to seamlessly update Lambda function runtimes to the latest supported versions


Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Oct 3
2024
Accelerate application upgrades with Amazon Q Developer agent for code transformation
Oct 22
2024
Introducing the new Amazon Q Developer experience in AWS Lambda
Mar 2
2026
Automate AWS Lambda Runtime Upgrades with AWS Transform custom
Jun 3
2025
Amazon Q Developer now helps customers optimize AWS costs

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.