Amazon CodeWhisperer is a machine learning-powered coding companion 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 CodeWhisperer suggestions. Although the Lambda console does not support all of the features of Amazon CodeWhisperer, it can be used to accelerate the development of simple Lambda functions.
In this lab, you will learn how to enable Amazon CodeWhisperer 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 CodeWhisperer suggestions in the AWS Lambda console
- Utilize Amazon CodeWhisperer suggestions to write and deploy a JavaScript function
Intended audience
- Cloud Developers
- Software Engineers
Prerequisites
Familiarity with the following will be beneficial but is not required:
- AWS Lambda
- Amazon CodeWhisperer
- JavaScript
The following content can be used to fulfill the prerequisites:

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.