AWS Security ChangesHomeSearch

AWS amazonq documentation change

Service: amazonq · 2025-04-18 · Documentation low

File: amazonq/latest/qdeveloper-ug/command-line-context-profiles.md

Summary

Removed sections about context switching commands, example profile configurations, and best practices documentation

Security assessment

Changes involve removing CLI usage examples and profile management documentation with no security-related content added or modified

Diff

diff --git a/amazonq/latest/qdeveloper-ug/command-line-context-profiles.md b/amazonq/latest/qdeveloper-ug/command-line-context-profiles.md
index 3692c935d..50fda7afb 100644
--- a//amazonq/latest/qdeveloper-ug/command-line-context-profiles.md
+++ b//amazonq/latest/qdeveloper-ug/command-line-context-profiles.md
@@ -5 +5 @@
-Understanding profiles and contextManaging profilesManaging contextCommon use casesBest practices
+Understanding profiles and contextManaging profilesManaging contextCommon use cases
@@ -65,27 +64,0 @@ To switch to a different profile, specify the profile name:
-### Using the /context switch command
-
-You can also switch between context profiles using the `/context switch` command:
-    
-    
-    q chat
-    > /context switch terraform
-    Switched to profile: terraform
-
-To create a new context profile and immediately switch to it, use the `--create` flag:
-    
-    
-    q chat
-    > /context switch new-project --create
-    Created profile: new-project
-    Switched to profile: new-project
-
-You can also specify a context profile when starting a chat session using the `--context-profile` flag:
-    
-    
-    q chat --context-profile terraform
-
-When using a non-default context profile, the prompt will display the profile name:
-    
-    
-    [terraform] > 
-
@@ -168,66 +140,0 @@ Here are some common use cases for context profiles:
-### Project-Specific Profiles
-
-Create profiles for different projects you work on:
-    
-    
-    q chat
-    > /context profile --create my-web-app
-    Created profile: my-web-app
-    > /context add README.md architecture.md docs/*.md
-    Added 5 path(s) to profile context.
-
-Now when you switch to this profile, Amazon Q will have all the necessary context about your web application project.
-
-### Language-Specific Profiles
-
-Create profiles for different programming languages with their respective coding standards:
-    
-    
-    q chat
-    > /context profile --create python
-    Created profile: python
-    > /context add python-style-guide.md
-    Added 1 path(s) to profile context.
-    
-    > /context profile --create java
-    Created profile: java
-    > /context add java-style-guide.md
-    Added 1 path(s) to profile context.
-
-Switch between these profiles when working with different languages to ensure Amazon Q follows the appropriate coding standards.
-
-### Workflow-Specific Profiles
-
-Create profiles for different workflows, such as development, testing, or deployment:
-    
-    
-    q chat
-    > /context profile --create dev-workflow
-    Created profile: dev-workflow
-    > /context add git-workflow.md code-review-checklist.md
-    Added 2 path(s) to profile context.
-    
-    > /context profile --create deployment
-    Created profile: deployment
-    > /context add deployment-checklist.md security-guidelines.md
-    Added 2 path(s) to profile context.
-
-Switch to the appropriate profile based on the task you're currently working on.
-
-## Best practices
-
-Here are some best practices for using context profiles effectively:
-
-  * _Keep context files focused_ : Create separate context files for different aspects of your project rather than one large file.
-
-  * _Use global context for universal standards_ : Add company-wide coding standards or development practices to the global context.
-
-  * _Name profiles clearly_ : Use descriptive names for your profiles that indicate their purpose.
-
-  * _Regularly update context files_ : Keep your context files up to date as your project evolves.
-
-  * _Start chat sessions with the right profile_ : Use the `--context-profile` flag when starting a chat session to immediately load the appropriate context.
-
-
-
-