CodeWhisperer's features are becoming a part of Amazon Q Developer. Learn more
Getting started with CodeWhisperer and Amazon EMR Studio
This page describes how to set up and activate Amazon CodeWhisperer for Amazon EMR Studio. Once activated, CodeWhisperer can make code recommendations automatically as you write your ETL code.
Note
CodeWhisperer supports Python, which can be used to code ETL scripts for Spark jobs in Amazon EMR Studio.
Use the following procedure to set up Amazon EMR Studio to work with CodeWhisperer.
Set up Amazon EMR Studio Notebook.
Attach the following policy to the IAM user role for Amazon EMR Studio Notebook.
{ "Version": "2012-10-17", "Statement": [ { "Sid": "CodeWhispererPermissions", "Effect": "Allow", "Action": [ "codewhisperer:GenerateRecommendations" ], "Resource": "*" } ] }
Open the Amazon EMR console
. Under Amazon EMR Studio, choose Workspaces (Notebooks).
Select your desired Workspace and choose Quick launch.