Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Using Amazon Q Developer with AWS Glue Studio

Focus mode
Using Amazon Q Developer with AWS Glue Studio - Amazon Q Developer

This page describes how to set up and activate Amazon Q Developer for AWS Glue Studio Notebook. Once activated, Amazon Q can make code recommendations automatically as you write your ETL code.

Note

Amazon Q supports both Python and Scala, the two languages used for coding ETL scripts for Spark jobs in AWS Glue Studio.

In the following procedure, you will set up AWS Glue to work with Amazon Q.

  1. Set up AWS Glue Studio Notebook.

  2. Attach the following policy to your IAM role for Glue Studio notebook

    Note

    The codewhisperer prefix is a legacy name from a service that merged with Amazon Q Developer. For more information, see Amazon Q Developer rename - Summary of changes.

    { "Version": "2012-10-17", "Statement": [ { "Sid": "AmazonQDeveloperPermissions", "Effect": "Allow", "Action": [ "codewhisperer:GenerateRecommendations" ], "Resource": "*" } ] }
  3. Open the Glue console

  4. Under ETL jobs, choose Notebooks.

  5. Verify that Jupyter Notebook is selected. Choose Create.

  6. Enter a Job name.

  7. For IAM role, select the role that you configured to interact with Amazon Q

  8. Choose Start notebook.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.