hands-on lab

Getting Started With Amazon Q Developer and AWS Lambda

Up to 45m
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.


Amazon Q Developer is a generative artificial intelligence (GenAI) powered assistant that can help you understand, build, extend, and operate AWS applications. This lab uses functionality from Amazon CodeWhisperer which has been incorporated into Amazon Q Developer. Specifically, coding companion functionality that provides code recommendations based on contextual information like prior code and comments.

The AWS Lambda console provides a built-in code editor that supports Amazon Q Developer suggestions. Although the Lambda console does not support all of the features of Amazon Q Developer, it can be used to accelerate the development of simple Lambda functions.

In this lab, you will learn how to enable Amazon Q Developer suggestions in the AWS Lambda console and how to use those suggestions to write and deploy a JavaScript function.

Learning objectives

Upon completion of this beginner-level lab, you will be able to:

  • Enable Amazon Q Developer suggestions in the AWS Lambda console
  • Utilize Amazon Q Developer suggestions to write and deploy a JavaScript function

Intended audience

  • Cloud Developers
  • Software Engineers


Familiarity with the following will be beneficial but is not required:

  • AWS Lambda
  • Amazon Q Developer
  • JavaScript

The following content can be used to fulfill the prerequisites:


June 13, 2024 - Updated the lab to refer to Amazon Q Developer, which now integrates Amazon CodeWhisperer

About the author

Jun Fritz, opens in a new tab
Cloud Labs Developer
Learning paths

Jun is a Cloud Labs Developer with previous experience as a Software Engineer and Cloud Developer. He holds the AWS Certified Solutions Architect and DevOps Engineer Professional certifications. He also holds the AWS Certified Solutions Architect, Developer, and SysOps Administrator Associate certifications. 

Jun is focused on giving back to the growing cloud community by sharing his knowledge and experience with students and creating engaging content. 

Covered topics

Lab steps

Logging In to the Amazon Web Services Console
Generating Code Suggestions With Amazon Q Developer and AWS Lambda