Amazon Q Developer Documentation
AI assistant for AWS
Built on Amazon Bedrock
Amazon Q is built on Amazon Bedrock, a managed service for building generative AI applications that offers a choice of foundation models (FMs) from Amazon and third party AI companies. Amazon Q uses multiple FMs to complete its tasks. AWS implements automated abuse detection. Because Amazon Q is built on Amazon Bedrock, users inherit the controls implemented in Amazon Bedrock.
Design and build
Have a conversation about your code
Amazon Q is available in the IDE to help your development. You can ask Amazon Q to explain program logic in a code base, identify and help fix bugs, or generate tests.
Build new features
With the Amazon Q Developer Agent for software development, you can go from a natural language prompt to application feature. Access interactive step-by-step instructions, code, tests, and best practices, with CodeCatalyst or from your IDE. Amazon Q is designed to understand your workspace structure and breaks down your prompt into logical implementation steps. You can collaborate with Amazon Q to review and iterate on the implementation, and, when ready, ask Amazon Q to help implement each step.
Code faster
Amazon Q Developer generates code suggestions based on your comments and existing code in the IDE and CLI.
Go from idea to pull request
You can describe a new feature to Amazon Q Developer in natural language, and it will analyze your existing code base, map out a step-by-step implementation plan spanning multiple files, and upon your approval, run all the required code changes and tests.
Get code recommendations based on your internal code base
Amazon Q Developer is designed to be customized by making it aware of your internal libraries, APIs, best practices, and architectural patterns. Use the Amazon Q Developer chat in the IDE to ask questions about how your internal code base is structured, where and how certain functions or libraries are used, or how to use specific functions, methods, or APIs.
Generate code for your console actions
AWS Console-to-Code provides a path for moving from your console prototypes to reusable code that can be deployed in production workloads. Use Amazon Q to capture your console actions and workflows, and generate code and create production workloads.
Inline chat
You can select a section of code for which you need assistance and initiate chat within the IDE to request actions. Get suggestions and code without switching context so you can stay in the flow while streamlining your coding process.
Workspace context
With workspace context awareness, when responding to chat requests, instructions, and questions, Amazon Q Developer can use its knowledge of your workspace to give suggestions.
Documentation
Amazon Q Developer is designed to help generate documentation within your source. As you're building new features, you can ask Q Developer to keep your readme files up to date.
Test and Secure
Secure and optimize applications
Amazon Q Developer is designed to scan code for vulnerabilities. Amazon Q Developer can suggest remediations tailored to the application code.
Test generation
Amazon Q Developer is designed to iteratively generate unit tests within your project so you can build on top of existing code bases.
Review and Deploy
Code review
Amazon Q Developer is designed to deploy automated code reviews, helping you to detect and resolve code quality issues.
Generate IaC
Amazon Q Developer can help generate infrastructure as code (IaC) so you can get your application in the hands of users quickly.
Advice and Guidance
Get assistance for building on AWS
Amazon Q has been trained on AWS experience building in the cloud. Application architects can use Amazon Q to help their research and design. Developers can dive into a code base by having Amazon Q explain the program logic in natural language, identify and help fix bugs, and implement features along with test cases.
Superior support and guidance
Amazon Q has knowledge of your AWS account resources and bill and can use this information to help you understand and manage your infrastructure. Users of Amazon Q have the same access to account and bill information as their existing AWS role permissions.
Pick the right instance for the job
Amazon Q can help you make quick and cost-effective decisions for your optimal compute instance type before building your workloads. Amazon Q generates Amazon EC2 instance type suggestions, using context from your actions in the console. Its natural language interface provides a straightforward way for you to describe your workload and needs and receive matched instances.
Manage and Optimize Cloud Resources
Manage AWS resources
Chat with Amazon Q in the console or through chat applications and easily query and explore your AWS infrastructure without writing scripts or navigating through multiple console pages.
Diagnose and Troubleshoot Errors
Diagnose errors in the console in seconds, not hours
Amazon Q helps diagnose errors. Amazon Q is designed to provide context on the likely cause of the error and steps to remediate it, informed by AWS best practices.
ChatOps integration
Designed to help operationalize DevOps runbooks and incident response tasks with customizable notifications from Amazon Q, follow-up actions like "Show Logs", and command aliases. Investigate incidents with incident hypotheses, diagnostic troubleshooting capabilities, and custom workflows, all without context switching between tools.
Accelerate operational analytics
Chat with Amazon Q Developer in Amazon OpenSearch Service. It can help set up monitoring, investigate issues, analyze patterns, and create visualizations using in-context assistance and natural language interactions.
Perform network reachability analysis with VPC Reachability Analyzer
When Amazon Q is asked to analyze network connectivity problems, it works with VPC Reachability Analyzer to check your connections and inspect your network configuration to identify potential issues. Amazon Q then provides guidance on how to resolve or further diagnose the issue.
Transform workloads
Upgrade Java applications
Amazon Q is designed to help upgrade your Java applications to the latest language version. Amazon Q can also identify and update mandatory package dependencies and frameworks, update deprecated code, incorporate security best practices, and generate tests to validate the upgraded application will run.
Transform embedded SQL in Java applications
Amazon Q is designed to detect Oracle SQL statements in your Java application and convert them to PostgreSQL. You are enabled to review and accept proposed changes, see a summary of the transformation, and get recommended next steps as you verify and test transformed code.
Improve security, performance, and remove tech debt
Amazon Q helps you keep applications updated to the latest supported versions and remove vulnerabilities from using unsupported versions.
Analyze and integrate data
Integrate data using natural language
Build data integration pipelines using natural language with Amazon Q data integration in AWS Glue, without prior Apache Spark or SQL expertise. Build data integration jobs, reduce complexity of troubleshooting issues, and get instance integration SME help with Amazon Q.
Natural language to SQL
With Amazon Q generative SQL, you can express queries in natural language and receive SQL code recommendations right in the Amazon Redshift Query Editor. Amazon Q is designed to analyze user intent, query patterns, and schema metadata within Amazon Redshift to deliver SQL queries.
Build ML models
Accelerate model development
Amazon Q Developer is designed to assist you throughout machine learning (ML) development across data preparation, model training, and model deployment. Get help to debug and fix errors as you run code within the IDE.
From natural language to ML model
State your objective in natural language, and Amazon Q can help translate it for ML and walk you through a solution using data science best practices.
Leverage data and AI
Data-driven projects at scale
Ask about available governed data for projects, ramp up on collaborations, and get help authoring code, generating SQL, integrating data, troubleshooting, and more.
Security, Identity, & Compliance
Analyzing network security configurations
You can get answers, in natural language, to questions about your network security configurations from AWS Shield network security director within Amazon Q Developer in the AWS Management Console and chat applications. Amazon Q helps you gain insight into your network security findings on analyzed resources with recommended remediation steps in the console and chat applications.
Additional Information
For additional information about service controls, security features and functionalities, including, as applicable, information about storing, retrieving, modifying, restricting, and deleting data, please see https://docs.aws.amazon.com/index.html. This information does not form part of the Documentation for purposes of the AWS Customer Agreement available at http://aws.amazon.com/agreement, or other agreement between you and AWS governing your use of AWS’s services.