This document describes how to request access to and activate Amazon CodeWhisperer for the Lambda console. Once activated, CodeWhisperer can make code recommendations on-demand in the Lambda code editor as you develop your function.
Note
In the Lambda console, CodeWhisperer only supports functions using the Python and Node.js runtimes.
Topics
- Requesting CodeWhisperer access (experimental feature)
- Activating Amazon CodeWhisperer (experimental feature)
To use Amazon CodeWhisperer in the Lambda console, you must first get allow listed. Request allow listing by completing these steps.
-
Open the Functions page of the Lambda console, and choose the function that you want to edit.
-
In the code editor under Code source, choose Tools in the top menu bar.
-
Choose Request CodeWhisperer access. This opens up a link to a request form in a new tab.
-
Fill out the form. For Lambda users, you must fill out the AWS Account ID field.
You will receive an email when the CodeWhisperer team approves your request.
Note
You must be allow listed to use CodeWhisperer in the Lambda console. If you aren't allow listed, see Requesting CodeWhisperer access (experimental feature).
To activate CodeWhisperer in the Lambda console code editor, complete these steps.
-
Open the Functions page of the Lambda console, and choose the function that you want to edit.
-
In the code editor under Code source, choose Tools in the top menu bar.
-
Choose CodeWhisperer code suggestions. This immediately activates the CodeWhisperer service, and a check mark appears next to this option. To deactivate, choose this option again.
The first time you activate CodeWhisperer, you'll see a pop-up containing terms and conditions for using CodeWhisperer. Read the terms and conditions and choose Accept to continue.