If your engineering team is evaluating Amazon Q Developer across enterprise repositories, command-line terminals, and the AWS Management Console, your Chief Information Security Officer (CISO) and DevSecOps leads are right to pause before granting widespread access. When developers feed proprietary application logic, internal API schemas, and production AWS infrastructure templates into an AI assistant, the fear is immediate and visceral: Is Amazon Web Services (AWS) silently absorbing our intellectual property to train next-generation foundational models?
The direct answer from 365Finds depends entirely on how your organization licenses and provisions the tool.
Under Amazon Q Developer Pro (the paid enterprise tier provisioned through AWS IAM Identity Center), AWS explicitly commits under its Service Terms and Data Protection agreements that customer content—including your source code, active IDE context, terminal prompts, and AWS infrastructure queries—is not used to train or improve underlying foundation models.
However, under the Amazon Q Developer Free Tier (authenticated via personal AWS Builder IDs), AWS's default policy allows the service to retain prompts, generated code, and diagnostic context for operational troubleshooting and foundation model training, unless an explicit opt-out is configured.
At 365Finds, our institutional stance is unambiguous: relying on developers to maintain privacy through client-side toggles while running unmanaged Free tier accounts is an unacceptable corporate risk. An enterprise-grade deployment requires a three-pillar security architecture: mandating the Pro tier through IAM Identity Center, enforcing a non-overridable AI services opt-out policy at the AWS Organizations root, and tunneling developer IDE traffic through private VPC interface endpoints powered by AWS PrivateLink.
1. The Legal and Architectural Boundary: Does AWS Retain and Train on Your Code?
To understand how Amazon Q Developer treats corporate data, enterprise security architects must dissect the lifecycle of a developer query across the IDE, CLI, and AWS Management Console.
+-----------------------------------------------------------------------------------------+
| Developer Workstation / IDE |
| +------------------------------------+ +----------------------------------------+ |
| | Source Code & Active File Context | | Chat Prompts & Terminal CLI Commands | |
| +-----------------+------------------+ +--------------------+-------------------+ |
+---------------------|-------------------------------------------|-----------------------+
| |
| TLS 1.2+ / TLS 1.3 (Public or VPCe) |
v v
+-----------------------------------------------------------------------------------------+
| AWS Cloud Boundary (Amazon Q) |
| |
| +---------------------------------------------------------------------------------+ |
| | Amazon Q Developer Service Tier Verification (IAM Identity Center / Builder ID) | |
| +----------------------------------------+----------------------------------------+ |
| | |
| +-------------------------+-------------------------+ |
| v v |
| [ Amazon Q Developer Pro ] [ Amazon Q Developer Free ] |
| * Zero model training on content * Content stored by default |
| * Ephemeral processing for inference * Used for bug fixes & training |
| * Optional Customer Managed KMS (CMK) * Requires manual opt-out |
| * Single-tenant logical boundary * Personal Builder ID bound |
+-----------------------------------------------------------------------------------------+
Free Tier vs. Pro Tier Contractual Terms
AWS handles customer input and generated output under two distinct legal frameworks within the AWS Service Terms:
| Feature Dimension | Amazon Q Developer Free Tier | Amazon Q Developer Pro (Enterprise) |
|---|---|---|
| Authentication Identity | Personal AWS Builder ID | AWS IAM Identity Center (Workforce) |
| Model Training on Customer Content | Enabled by default; content may be used for model training and service refinement | Strictly prohibited; customer content is never used to train foundation models |
| Data Retention Window | Retained in AWS service stores for debugging and evaluation unless opted out | Processed ephemerally for inference; stored chat history isolated to customer profile |
| Encryption at Rest | AWS-owned KMS keys | AWS-owned keys, with optional Customer Managed Keys (CMK) for console/agents |
| Organizational Governance | Individual developer control in IDE | Centralized IAM policies, SCPs, and Organizations-level controls |
| PrivateLink VPC Endpoints | Not supported for personal Builder ID | Fully supported for IDE extension routing |
Under Amazon Q Developer Pro, your proprietary code snippets, open file buffers sent to provide contextual relevance, chat queries, and AWS CLI commands remain strictly isolated. AWS processes these payloads in memory through its inference pipelines (backed by Amazon Bedrock foundation infrastructure), generates recommendations, and delivers them back without indexing them into public foundation model weights.
Context Windows and In-Memory Processing
When an engineer asks Amazon Q Developer to refactor a function or debug an AWS CloudFormation template, the IDE extension collects a local context bundle. This bundle includes lines surrounding the cursor, open tabs in the IDE workspace, project file structures, and repository imports.
In Amazon Q Developer Pro, this context bundle is packaged into an encrypted payload, evaluated during the inference window, and discarded from active memory once the response stream terminates. Persistent state is limited to explicit conversational history retained within your administrator-configured workspace profile, ensuring that no inter-tenant data leakage occurs between AWS corporate customers.
Data Residency and Regional Processing Realities
While AWS commits to data isolation, enterprise compliance officers must recognize the physical realities of AWS inference infrastructure:
- Regional Profile Storage: For Pro users configured via IAM Identity Center, chat logs, console diagnostic sessions, and workspace settings reside within the home AWS Region where the administrator provisioned the Amazon Q Developer profile (for supported regions).
- Cross-Region Inference Dispatch: Foundational model capacity for generative AI workloads is concentrated in primary AWS centers, predominantly
us-east-1(N. Virginia) andus-west-2(Oregon). When a developer in Europe or Asia-Pacific initiates a code generation task, the sanitized payload may undergo cross-region transit to a US inference cluster to fulfill low-latency generation requirements before returning to the developer's client. - Geographic Boundary Enforcement: If your industry compliance rules (such as European GDPR data sovereignty standards) mandate that content cannot leave local geographical borders, AWS administrators can apply Service Control Policies (SCPs) to restrict Amazon Q features to regions with local model hosting endpoints.
2. Cryptographic Controls and Data-at-Rest Protection
Enterprise security teams frequently ask whether AWS operators or compromised cloud storage can expose internal code artifacts. Amazon Q Developer implements a multi-tier cryptographic defense.
Encryption in Transit
All network transmissions between developer workstations, terminal shells, local IDEs, and AWS backend services require TLS 1.2 or TLS 1.3 connections. Plaintext HTTP access is blocked, preventing intermediary eavesdropping across corporate LANs or public internet transit.
Encryption at Rest (AWS-Owned vs. Customer-Managed Keys)
By default, Amazon Q Developer stores necessary service state (such as chat transcripts, console diagnostic history, and custom workspace indexes) across Amazon DynamoDB and Amazon Simple Storage Service (Amazon S3), encrypted under AWS-owned AWS Key Management Service (AWS KMS) keys.
For enterprise customers requiring deterministic cryptographic ownership, Amazon Q Developer Pro permits administrators to configure Customer Managed Keys (CMKs). When a symmetric CMK is linked through the Amazon Q Developer console, AWS provisions KMS grants that authorize Amazon Q to encrypt the following components:
- Interactive chat sessions conducted inside the AWS Management Console.
- Console error diagnosis logs and remediation telemetry.
- Customization data sources (private corporate codebases indexed for organizational auto-completion).
- Autonomous software development agents executing tasks in developer IDEs.
[!IMPORTANT] If a security incident occurs or a compromised workforce profile is identified, revoking the KMS grant on your customer-managed key immediately crypto-shreds active access to retained chat logs and diagnostic sessions, rendering that data unreadable to AWS backend processes.
3. Mandatory Centralized Governance: AWS Organizations AI Opt-Out Policies
Leaving AI data privacy to individual developer compliance is a recipe for security failures. Even if your company purchases Amazon Q Developer Pro, engineers frequently experiment with free accounts or log in from secondary devices.
AWS Organizations provides a declarative policy mechanism called AI Services Opt-Out Policies. By deploying this policy at the organization's Root account, security administrators globally forbid AWS from using customer data to train models, regardless of what an individual developer toggles in their editor.
The Legacy Identifier: codewhisperer
A critical technical nuance that catches many cloud architects off guard: Amazon Q Developer absorbed and replaced AWS's legacy code generator, Amazon CodeWhisperer. Within AWS Organizations declarative policy definitions, Amazon Q Developer's coding and contextual pipelines remain mapped under the legacy service identifier codewhisperer.
Production JSON Opt-Out Policy
To enforce an unbreakable opt-out across all member accounts, AWS regions, and organizational units (OUs), create the following AI services opt-out policy and attach it directly to the Root of your AWS Organization:
{
"services": {
"@@operators_allowed_for_child_policies": [
"@@none"
],
"default": {
"opt_out_policy": {
"@@assign": "optOut"
}
},
"codewhisperer": {
"opt_out_policy": {
"@@assign": "optOut"
}
}
}
}
Why This Policy Is Hardened:
"default": { "opt_out_policy": { "@@assign": "optOut" } }: Forces every current and future AWS AI service across all accounts into an opted-out posture."codewhisperer": { "opt_out_policy": { "@@assign": "optOut" } }: Explicitly locks down the Amazon Q Developer coding backend."@@operators_allowed_for_child_policies": [ "@@none" ]: Critical enforcement directive. It prohibits downstream OU administrators or sandbox account owners from writing child policies that override the opt-out setting back to"optIn".
Once attached, AWS automatically purges historical telemetry previously queued for model training across linked member accounts for covered services.
4. Network Perimeter Isolation: Routing Traffic Through VPC Interface Endpoints (AWS PrivateLink)
For high-security banking, healthcare, and defense software, allowing developer IDEs to make outbound calls over the public internet to public AWS API endpoints violates basic data perimeter architecture.
Amazon Q Developer supports Interface VPC Endpoints powered by AWS PrivateLink. This architecture routes code completion, chat, and CLI generation requests over private Elastic Network Interfaces (ENIs) located inside your Virtual Private Cloud (VPC), keeping all proprietary source traffic within the AWS private global network backbone.
+-----------------------------------------------------------------------------------------+
| Corporate Network / On-Premises |
| +------------------------------------+ |
| | Developer Laptop (VS Code / CLI) | |
| +-----------------+------------------+ |
+---------------------|-------------------------------------------------------------------+
| AWS Direct Connect / AWS Client VPN
v
+-----------------------------------------------------------------------------------------+
| Customer Virtual Private Cloud (VPC) |
| |
| +-------------------------------------+ +---------------------------------------+ |
| | Subnet 1 (Private) | | Subnet 2 (Private) | |
| | ENI: 10.0.1.25 | | ENI: 10.0.2.88 | |
| | Endpoint: com.amazonaws.<region>.q | | Endpoint: com.amazonaws.us-east-1... | |
| +------------------+------------------+ +-------------------+-------------------+ |
| | | |
| +--------------------+---------------------+ |
| | |
| | AWS PrivateLink Fabric |
+-------------------------------------------|---------------------------------------------+
v
+-----------------------------------------------------------------------------------------+
| AWS Managed Service Network |
| |
| +---------------------------------------------------+ |
| | Amazon Q Developer Backend & CodeWhisperer Engines| |
| +---------------------------------------------------+ |
+-----------------------------------------------------------------------------------------+
Required VPC Interface Endpoints
To enable complete IDE extension functionality over private channels, your network engineering team must provision two interface VPC endpoints:
-
Amazon Q Management Endpoint:
com.amazonaws.<region>.q(Replace
<region>with the AWS region where your Amazon Q Developer profile is registered, such asus-east-1oreu-west-1.) -
Amazon Q Developer Code Generation Endpoint:
com.amazonaws.us-east-1.codewhisperer(Note: The underlying code compilation and inference engine runs in US East (N. Virginia), so this PrivateLink endpoint must target
us-east-1.)
DNS Resolution and On-Premises Workstations
To route developer IDE traffic seamlessly without rewriting plugin configurations:
- Enable Private DNS on both VPC endpoints. When private DNS is enabled, standard API domain calls (such as
q.us-east-1.amazonaws.comandcodewhisperer.us-east-1.amazonaws.com) automatically resolve to the private IP addresses of your VPC's Elastic Network Interfaces. - Hybrid Workstations: If engineers work on corporate laptops outside AWS, connect their machines to the VPC via AWS Client VPN or AWS Direct Connect. Configure an Amazon Route 53 Inbound Resolver within the VPC to resolve private endpoint queries from on-premises workstations.
Attaching VPC Endpoint Policies
A private endpoint is only half the battle. To prevent data exfiltration—such as a rogue developer routing proprietary corporate code to a personal AWS account—attach a restrictive VPC Endpoint Policy to your interface endpoints:
{
"Statement": [
{
"Sid": "AllowOnlyCorporateIdentityCenterAccess",
"Principal": "*",
"Action": [
"q:*",
"codewhisperer:*"
],
"Effect": "Allow",
"Resource": "*",
"Condition": {
"StringEquals": {
"aws:PrincipalOrgID": "o-exampleorg123"
}
}
}
]
}
This condition ensures that requests traveling through your private network interfaces are rejected unless the initiating identity belongs strictly to your enterprise organization (o-exampleorg123).
[!NOTE] Interface VPC endpoints support Amazon Q Developer features inside IDEs (VS Code, JetBrains, Eclipse, Visual Studio) and CLI environments. However, browser-based chat inside the AWS Management Console and the web transformation dashboard currently communicate via public AWS console service planes and cannot be pinned to PrivateLink interface endpoints.
5. Client-Side IDE and CLI Telemetry Stripping
Beyond foundational model training, enterprise compliance frameworks distinguish between Customer Content (actual proprietary code, comments, and schemas) and Client-Side Telemetry (operational metrics like suggestion acceptance rates, latency, and plugin version numbers).
AWS collects client-side telemetry to monitor plugin stability, governed by schema definitions published in AWS's open-source repositories (aws-toolkit-common). While telemetry does not include raw source code, highly regulated security postures often mandate shutting off all external telemetry streams.
Visual Studio Code Hardening
In VS Code, settings can be locked down globally via enterprise MDM profiles (settings.json):
{
"amazonQ.telemetry": false,
"amazonQ.shareContent": false
}
amazonQ.telemetry: Disables sending local usage metrics to AWS.amazonQ.shareContent: Disables content sharing for service improvement on Free Tier sessions (automatically enforced to off on Pro tier).
JetBrains IDEs (IntelliJ IDEA, PyCharm, WebStorm)
- Navigate to Settings / Preferences > Tools > AWS > Amazon Q.
- Under Data Sharing, ensure Share Amazon Q content with AWS is deselected.
- Navigate to Tools > AWS and uncheck Send usage metrics to AWS.
Command-Line Interface (Amazon Q CLI & QCT)
For engineers using terminal integration or the transformation tool (qct):
- In the Amazon Q CLI configuration menu, toggle Telemetry to disabled.
- For the code transformation tool, execute:
When promptedqct configureAllow telemetry collection?, submitN.
6. The 365Finds Governance Verdict: Practical Implementation Strategy
At 365Finds, we do not advise enterprise security teams to ban generative AI coding assistants. Blanket prohibitions invariably drive developers toward unsanctioned shadow AI tools like unmanaged consumer web chats, dramatically compounding intellectual property risks.
Amazon Q Developer provides one of the strongest enterprise privacy models in the cloud market—provided you eliminate the Free Tier.
+-----------------------------------------------------------------------------------------+
| 365Finds Recommended Deployment Matrix |
+-------------------------+-------------------------------+-------------------------------+
| Governance Layer | Unmanaged / Shadow Setup | 365Finds Hardened Enterprise |
+-------------------------+-------------------------------+-------------------------------+
| Licensing | Free Tier (Builder ID) | Pro Tier (IAM Identity Center)|
| Model Training | Active by default | Prohibited by Service Terms |
| Central Policy | None (Relies on dev honesty) | Root AI Opt-Out Policy (JSON) |
| Network Egress | Public Internet (0.0.0.0/0) | AWS PrivateLink VPC Endpoints |
| Data at Rest Key | AWS-Owned Keys | Customer Managed KMS (CMK) |
| Endpoint Filtering | None | aws:PrincipalOrgID Lockdown |
+-------------------------+-------------------------------+-------------------------------+
The CISO Implementation Checklist
To roll out Amazon Q Developer with total合规confidence, execute the following sequence:
- Deploy Amazon Q Developer Pro exclusively: Deactivate all personal Builder ID sign-ins. Federate user authentication through AWS IAM Identity Center linked to your corporate Identity Provider (Okta, Microsoft Entra ID, or Ping Identity).
- Apply the AWS Organizations AI Opt-Out Policy: Paste the hardened JSON policy with
@@operators_allowed_for_child_policies: ["@@none"]targeting bothdefaultandcodewhispererat the organization root. Runaws organizations describe-effective-policyacross member accounts to confirm inheritance. - Provision AWS PrivateLink Interface Endpoints: Deploy
com.amazonaws.<region>.qandcom.amazonaws.us-east-1.codewhispereracross your core development VPCs. Configure Route 53 private DNS resolution and lock endpoint access down with anaws:PrincipalOrgIDresource condition. - Mandate IDE Configuration Templates: Push corporate workspace settings to VS Code and JetBrains deployments via automated configuration management (Ansible, Chef, or MDM) to disable client-side telemetry flags.
- Establish Customer-Managed Key Rotation: Create a dedicated multi-region symmetric KMS key with an explicit key policy granting the Amazon Q service principal required grant rights, ensuring immediate cryptographic revocability.
By anchoring your developers to AWS PrivateLink endpoints and enforcing top-down organization policies, your proprietary intellectual property remains strictly yours—fully insulated from public foundation model training corpora.
References
- Data protection in Amazon Q Developer - Amazon Q Developer User Guide
- Amazon Q Developer service improvement - Amazon Q Developer User Guide
- Data storage in Amazon Q Developer - Amazon Q Developer User Guide
- Data encryption in Amazon Q Developer - Amazon Q Developer User Guide
- Amazon Q Developer and interface endpoints (AWS PrivateLink) - Amazon Q Developer User Guide
- Opt out of data sharing in the IDE and command line - Amazon Q Developer User Guide
- AI services opt-out policy syntax and examples - AWS Organizations User Guide
- AWS Service Terms - Amazon Web Services