# Amazon CodeWhisperer

Cloud service · AWS. Updated 2026-11-12. Page: https://blowstack.com/tools/cloud-services-hub/amazon-codewhisperer

> Amazon Q Developer is a machine learning-powered service designed to improve developer productivity by providing code recommendations and automatically generating code across various programming languages and applications, directly within the integrated development environment (IDE).

Practice exams covering Amazon CodeWhisperer: [DVA-C02 AWS Certified Developer - Associate](https://blowstack.com/practice-exams/aws-certified-developer-associate), [AIP-C01 AWS Certified Generative AI Developer - Professional](https://blowstack.com/practice-exams/aws-certified-generative-ai-developer-professional), [SCS-C03 AWS Certified Security - Specialty](https://blowstack.com/practice-exams/aws-certified-security-specialty).

## 9 key features of Amazon CodeWhisperer

Amazon CodeWhisperer is an AI-driven code suggestion tool that supports multiple languages, integrates with popular IDEs, ensures code meets security standards, provides real-time recommendations, and offers automated code refactoring to enhance development efficiency and code quality.

1. **AI-Powered Code Generation**: Amazon Q Developer is an AI-driven code suggestion tool that assists developers by generating code snippets and entire functions automatically, based on the comments or the context provided in the development environment.
2. **Multi-Language Support**: It supports multiple programming languages including but not limited to Java, JavaScript, Python, making it versatile for a variety of development projects.
3. **Seamless Integration**: Amazon Q Developer integrates with supported Integrated Development Environments (IDEs) and code editors such as Visual Studio Code and IntelliJ IDEA, offering a smooth coding experience without frequent context switching.
4. **Security and Best Practices**: The tool scans code for vulnerabilities and suggests remediations to help address security issues.
5. **Real-Time Code Recommendations**: Provides real-time code recommendations as you type, making the development process faster and more efficient by automatically suggesting relevant code snippets.
6. **Automated Code Refactoring**: Amazon Q Developer supports automated code refactoring to improve the quality and maintainability of your codebase.
7. **AWS Resource and Cost Conversations**: Amazon Q Developer supports conversations about AWS resources and costs and can diagnose console errors.
8. **Code Transformation**: Amazon Q Developer supports code transformation in addition to code suggestions and refactoring.
9. **EMR Studio Integration**: The integration with EMR Studio supports only Python for coding ETL scripts for Spark jobs.

## Where Amazon CodeWhisperer is used

Amazon CodeWhisperer accelerates the software development cycle, enhances code quality, supports multiple programming languages, offers custom code recommendations, and integrates with popular IDEs to streamline workflows.

1. **Accelerate Development Cycle**: Amazon Q Developer helps software developers accelerate their development cycle by providing real-time code recommendations. As developers type, Amazon Q Developer suggests entire lines or blocks of code, enabling faster development of applications by reducing the time spent on searching for code snippets or debugging.
2. **Enhance Code Quality**: Developers can use Amazon Q to write unit tests, optimize code, scan for vulnerabilities, and obtain suggested remediations.
3. **Support for Multiple Languages**: Amazon Q Developer supports a wide range of programming languages, making it a versatile tool for developers working in different technology stacks. This feature allows for broader adoption within development teams using supported programming languages.
4. **Custom Code Recommendations**: Developers can connect private repositories to generate more relevant code recommendations, ask questions about company code, and understand internal code bases.
5. **Integration with Popular IDEs**: Amazon Q Developer can be integrated with popular Integrated Development Environments (IDEs), such as Visual Studio Code and IntelliJ. This integration allows developers to use the tool within their preferred development environment, streamlining their workflow and making coding more efficient.

## How Amazon CodeWhisperer is priced

Amazon CodeWhisperer offers a pay-as-you-go model for flexible usage and a subscription model for consistent high usage.

- **Amazon Q Developer Pro**: Amazon Q Developer Pro costs $19 per user per month; usage limits apply, so the subscription does not provide unlimited access to every feature.
- **Amazon Q Developer Free Tier**: A perpetual Free Tier provides Amazon Q Developer at no cost.

## Services Amazon CodeWhisperer works with

- **[Amazon S3](https://blowstack.com/tools/cloud-services-hub/amazon-s3)**: Amazon Q Developer can assist with code suggestions and generation for managing S3 buckets, objects, and interactions.
- **[Amazon DynamoDB](https://blowstack.com/tools/cloud-services-hub/amazon-dynamodb)**: Amazon Q Developer provides assistance in writing code for DynamoDB operations, including table creation, data insertion, queries, and scans.
- **[Amazon EC2](https://blowstack.com/tools/cloud-services-hub/amazon-ec2)**: Amazon Q Developer helps generate code for managing EC2 instances, configurations, and related resources.
- **[AWS Lambda](https://blowstack.com/tools/cloud-services-hub/aws-lambda)**: Amazon Q Developer aids in writing and optimizing AWS Lambda functions, including setup, deployment, and integrations.
- **[Amazon API Gateway](https://blowstack.com/tools/cloud-services-hub/amazon-api-gateway)**: Amazon Q Developer assists in generating code for creating, deploying, and managing RESTful and WebSocket APIs using API Gateway.
- **[Amazon RDS](https://blowstack.com/tools/cloud-services-hub/amazon-rds)**: Amazon Q Developer provides code suggestions for interactions with Amazon RDS, including database management and queries.
- **[AWS CloudFormation](https://blowstack.com/tools/cloud-services-hub/aws-cloudformation)**: Amazon Q Developer helps with generating CloudFormation templates for provisioning and managing AWS resources.
- **[Amazon CloudWatch](https://blowstack.com/tools/cloud-services-hub/amazon-cloudwatch)**: CodeWhisperer publishes usage metrics to CloudWatch so administrators can monitor adoption and code-suggestion activity across their organization.
- **[Amazon CodeGuru](https://blowstack.com/tools/cloud-services-hub/amazon-codeguru)**: CodeWhisperer's security scanning uses Amazon CodeGuru's security-analysis technology to identify vulnerabilities in code and provide remediation guidance.
- **[Amazon EMR](https://blowstack.com/tools/cloud-services-hub/amazon-emr)**: CodeWhisperer provides real-time code recommendations in EMR Studio Workspaces. While writing code in JupyterLab, developers can receive line completions or generate functions from comments.
- **[Amazon SageMaker](https://blowstack.com/tools/cloud-services-hub/amazon-sagemaker)**: CodeWhisperer provides AI-powered code suggestions in SageMaker Studio development environments, including Code Editor. Access can be authorized through the SageMaker execution role.
- **[Amazon VPC](https://blowstack.com/tools/cloud-services-hub/amazon-vpc)**: CodeWhisperer supports interface VPC endpoints, allowing supported development environments to access its APIs privately without routing requests over the public internet.
- **[AWS Cloud9](https://blowstack.com/tools/cloud-services-hub/aws-cloud9)**: CodeWhisperer integrates with the Cloud9 editor to suggest code as developers type. It uses comments and surrounding code to recommend individual lines or complete functions.
- **[AWS CloudTrail](https://blowstack.com/tools/cloud-services-hub/aws-cloudtrail)**: CodeWhisperer integrates with CloudTrail to record supported API activity. Administrators can audit who performed management operations and when those requests occurred.
- **[AWS CodeConnections](https://blowstack.com/tools/cloud-services-hub/aws-codeconnections)**: CodeWhisperer Customizations uses CodeConnections to access private repositories hosted by supported source providers, such as GitHub and Bitbucket. The repository code supplies training material for recommendations tailored to an organization's internal libraries and APIs.
- **[AWS Glue](https://blowstack.com/tools/cloud-services-hub/aws-glue)**: CodeWhisperer provides code recommendations in AWS Glue Studio notebooks. Developers can use natural-language comments and existing code to generate suggestions while authoring data-integration jobs.
- **[AWS IAM Identity Center (AWS Single Sign-On)](https://blowstack.com/tools/cloud-services-hub/aws-iam-identity-center-(aws-single-sign-on))**: CodeWhisperer Professional uses IAM Identity Center to authenticate workforce users and manage access. Administrators can assign users and groups access to their organization's CodeWhisperer subscription.
- **[AWS Identity and Access Management (IAM)](https://blowstack.com/tools/cloud-services-hub/aws-identity-and-access-management-(iam))**: CodeWhisperer uses IAM policies to authorize service operations and access from integrated development environments. For example, an execution role can grant codewhisperer:GenerateRecommendations to enable suggestions in SageMaker Code Editor.
- **[AWS Key Management Service (AWS KMS)](https://blowstack.com/tools/cloud-services-hub/aws-key-management-service-(aws-kms))**: CodeWhisperer supports customer-managed KMS keys for encrypting customization data. Organizations can control the key permissions used to protect customizations built from their private code.
- **[AWS PrivateLink](https://blowstack.com/tools/cloud-services-hub/aws-privatelink)**: CodeWhisperer supports PrivateLink through interface VPC endpoints. This provides private connectivity to supported CodeWhisperer service endpoints from a VPC.

## What is Amazon CodeWhisperer

Amazon Q Developer is a machine learning-powered service by Amazon Web Services (AWS) designed to improve the productivity and efficacy of software developers by automating the process of writing code. This innovative tool is part of a growing trend towards leveraging artificial intelligence (AI) in the field of software engineering to enhance efficiency, reduce errors, and allow developers to focus on more strategic elements of their projects. Amazon Q Developer operates by analyzing the context of the code being written and providing real-time recommendations and code snippets that can be easily integrated into the developers' work. It supports a variety of programming languages and frameworks, which makes it a versatile tool for a wide range of software development projects.

Creating a customization requires at least 10 code files for each language to be included and at least 20 MB of code files in the data source; valid file extensions are .java, .py, .jsx, .tsx, .js, and .ts.

Amazon Q Developer offers Free and Pro tiers. The Pro tier provides organizational subscription management through AWS IAM Identity Center and does not use proprietary customer content for service improvement.

In IDEs and the CLI, the Pro code-transformation quota is 4,000 lines of code per user per month, pooled at the account level, with extra lines available.

In IDEs and the CLI, Pro allows 10,000 inference requests per user per month for agentic requests, including Q&A chat and agentic coding.

Its ability to quickly generate code suggestions based on brief descriptions or comments written by the developer in natural language radically streamlines the coding process, potentially reducing the development time significantly. Beyond merely suggesting snippets of code, Amazon Q Developer is designed to understand the nuances of different programming tasks. Whether it's setting up a new service, implementing a complex algorithm, or integrating with APIs, Amazon Q Developer can provide contextually relevant code examples and solutions that adhere to best practices. This capability is particularly valuable for novice developers or those working with unfamiliar technologies, as it offers an opportunity to learn from the generated code examples. Another notable aspect of Amazon Q Developer is its emphasis on security and code quality. By incorporating AWS's best practices and scanning for common vulnerabilities, it aims to ensure that the code it generates is not only functional but also secure. This is crucial in today's digital environment, where security concerns are paramount.

Furthermore, Amazon Q Developer's integration with popular Integrated Development Environments (IDEs) means that it fits seamlessly into the developers' existing workflow. There is no need for switching between applications or disrupting the development process, as Amazon Q Developer's suggestions appear in real-time within the IDE. This seamless integration helps maintain the developerss flow state, leading to higher productivity levels.

AWS will discontinue support for Amazon Q Developer IDE plugins on April 30, 2027.

Amazon Q Developer, therefore, represents a significant step forward in the utilization of AI in software development. By automating routine coding tasks, providing educational insights through code suggestions, and emphasizing security and best practices, it not only accelerates the development process but also contributes to the creation of higher quality software products. As the tool continues to evolve and improve, its impact on the software development community is expected to grow, making it an indispensable asset for developers looking to harness the power of AI in their work.

## Amazon CodeWhisperer exam questions

Real practice exam questions on Amazon CodeWhisperer, with the correct answer and its explanation.

### Question 1 (DVA-C02)

**Question:**

A company wants to provide 60 developers with AI-generated inline code recommendations in their supported IDEs while they build AWS applications. The company requires centrally managed subscriptions and access through its existing corporate identity provider. Proprietary source code must not be used for service improvement. Which solution meets these requirements?

**Correct answer:** Subscribe to Amazon Q Developer Pro, which includes the capabilities formerly offered by CodeWhisperer Professional, and assign subscriptions through IAM Identity Center federated with the corporate identity provider.

**Explanation:** Amazon Q Developer Pro provides IDE code recommendations and centrally managed subscriptions through IAM Identity Center, which can integrate with an external corporate identity provider. Proprietary customer content from the Pro tier is not used for service improvement.

### Question 2 (AIP-C01)

**Question:**

A company runs a Python application that streams JSON-formatted answers from Amazon Bedrock through ConverseStream. After a parser change, valid answers intermittently produce JSON decoding errors. Sanitized event recordings show that textDelta events can split a JSON property name or value across multiple events. The current handler calls json.loads on each textDelta independently.

The application must continue forwarding text incrementally to clients, but it must validate the complete JSON document only after generation finishes normally. A response stopped by the output-token limit or interrupted by a stream exception must not be reported as successful. Engineers have sanitized recordings of these cases and want to accelerate a source-code fix without making live model calls during regression testing.

Which development workflow best meets these requirements?

**Correct answer:** Use Amazon Q Developer, which includes the former Amazon CodeWhisperer capabilities, in the IDE to propose changes using the handler and sanitized event recordings as context. Forward text deltas while accumulating them, validate the assembled document only after normal completion, and handle token-limit stops and stream exceptions as unsuccessful outcomes. Review the changes and run replay-based regression tests without invoking Bedrock.

**Explanation:** Amazon Q Developer can accelerate implementation and test development using source-code context. Accumulating text separately from forwarding it preserves streaming while avoiding attempts to parse incomplete JSON fragments. Explicit completion and failure handling prevents truncated or interrupted generations from being marked successful. Sanitized event replay makes the regression tests repeatable without live model calls.

## Practice Amazon CodeWhisperer in a full exam

Questions on Amazon CodeWhisperer in each practice exam, with every answer option and an explanation for each:

- [AIP-C01](https://blowstack.com/practice-exams/aws-certified-generative-ai-developer-professional): 8 questions
- [DVA-C02](https://blowstack.com/practice-exams/aws-certified-developer-associate): 4 questions
- [SCS-C03](https://blowstack.com/practice-exams/aws-certified-security-specialty): 2 questions

## Learn Amazon CodeWhisperer in lessons

4 short lessons on Amazon CodeWhisperer in 2 certification courses.

- AIP-C01: Amazon CodeWhisperer: context-guided code refinement (Premium), https://app.blowstack.com/lessons/amazon-codewhisperer-context-guided-code-refinement-aip-c01
- SCS-C03: Amazon CodeWhisperer: security scans and suggested fixes (Premium), https://app.blowstack.com/lessons/amazon-codewhisperer-security-scans-and-suggested-fixes-scs-c03
- AIP-C01: Amazon Q and Amazon CodeWhisperer: capability boundaries (Premium), https://app.blowstack.com/lessons/amazon-q-and-amazon-codewhisperer-capability-boundaries-aip-c01
- SCS-C03: Amazon CodeWhisperer vs Amazon CodeGuru: code security roles (Premium), https://app.blowstack.com/lessons/amazon-codewhisperer-vs-amazon-codeguru-code-security-roles-scs-c03
