AWS Security ChangesHomeSearch

AWS amazonq documentation change

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

File: amazonq/latest/qdeveloper-ug/chat-costs.md

Summary

Expanded cost analysis documentation to include cost optimization recommendations, updated IAM policy requirements, and added Cost Optimization Hub integration

Security assessment

The changes emphasize IAM permissions required for cost optimization features, which relates to access control security best practices. However, there is no evidence of addressing a specific security vulnerability. The documentation now explicitly states required permissions for cost-related actions, which qualifies as security documentation.

Diff

diff --git a/amazonq/latest/qdeveloper-ug/chat-costs.md b/amazonq/latest/qdeveloper-ug/chat-costs.md
index fbdaa5cb0..57200d4bc 100644
--- a//amazonq/latest/qdeveloper-ug/chat-costs.md
+++ b//amazonq/latest/qdeveloper-ug/chat-costs.md
@@ -9 +9 @@ PrerequisitesExample questions
-You can ask Amazon Q about your AWS bill and account costs. Amazon Q can retrieve your cost data, explain costs, and analyze cost trends, so you can understand your costs without referring to documentation or interrupting your workflow.
+You can ask Amazon Q about your historical and forecasted AWS cost data as well as how to optimize your costs. Amazon Q can retrieve your cost data, explain costs, and analyze cost trends, so you can understand your costs without referring to documentation or interrupting your workflow. Amazon Q can also provide recommendations on how to optimize your AWS costs, including rightsizing instances, stopping or deleting idle or unused resources, migrating EC2 instances to AWS Graviton-based instances, and purchasing Savings Plans.
@@ -11 +11 @@ You can ask Amazon Q about your AWS bill and account costs. Amazon Q can retriev
-When you ask Amazon Q about your costs, its response includes information about the requested cost figure, including the metric, time period and granularity, and any groups or filters applied to retrieve the cost data. It also provides a link to an AWS Cost Explorer view with the same specifications, so you can see visualizations or download the data for your own analysis. 
+When you ask Amazon Q about your costs, its response includes the specific parameters used to retrieve the data, as well as a link to learn more in the AWS Management Console. 
@@ -13 +13 @@ When you ask Amazon Q about your costs, its response includes information about
-For more information about cost analysis in Amazon Q, see [Analyzing your Cost Explorer data with Amazon Q](https://docs.aws.amazon.com/cost-management/latest/userguide/ce-cost-analysis-q.html) in the _AWS Cost Management User Guide_.
+For more information about cost analysis in Amazon Q, see [Analyzing and optimizing your costs using generative AI with Amazon Q Developer](https://docs.aws.amazon.com/cost-management/latest/userguide/ce-cost-analysis-q.html) in the _AWS Cost Management User Guide_.
@@ -23 +23 @@ For Amazon Q to answer questions about your costs, the following prerequisites m
-To chat about your costs, your IAM identity must have the following permissions:
+To chat about your costs, your IAM identity must have permissions to chat with Amazon Q, access your billing data, and retrieve cost optimization recommendations. For an IAM policy that grants the required permissions, see [Allow Amazon Q to access cost data and provide cost optimization recommendations](./id-based-policy-examples-users.html#id-based-policy-examples-allow-cost-chat).
@@ -25,8 +25 @@ To chat about your costs, your IAM identity must have the following permissions:
-  * Permissions to chat with Amazon Q and to allow Amazon Q to access your billing data. For an IAM policy that grants the required permissions, see [Allow Amazon Q to perform actions on your behalf in chat](./id-based-policy-examples-users.html#id-based-policy-examples-allow-actions).
-
-  * `ce:GetCostAndUsage`, `ce:GetCostForecast` , `ce:GetTags` ,`ce:GetCostCategories` , `ce:GetDimensionValues` to get Cost Explorer billing data.
-
-
-
-
-### Enable AWS Cost Explorer
+### Enable AWS Cost Explorer and AWS Cost Optimization Hub
@@ -35,0 +29,2 @@ To chat about your costs with Amazon Q, you must enable AWS Cost Explorer in you
+To receive cost optimization recommendations from Amazon Q, you must enable AWS Cost Optimization Hub. For more information, see [Getting started with Cost Optimization Hub](https://docs.aws.amazon.com/cost-management/latest/userguide/cost-optimization-hub-getting-started.html) in the _AWS Cost Management User Guide_.
+
@@ -48 +43,3 @@ Following are example questions about costs that you can ask Amazon Q:
-  * Which linked accounts increased their spend the most from January to February?
+  * How can I lower my AWS bill?
+
+  * What are my top cost optimization opportunities?
@@ -50 +47 @@ Following are example questions about costs that you can ask Amazon Q:
-  * Which linked accounts spent the most on DynamoDB last month?
+  * Are any of my Amazon EC2 instances over-provisioned?
@@ -52 +49 @@ Following are example questions about costs that you can ask Amazon Q:
-  * What were my cost trends by region over the last three months?
+  * Which Savings Plans should I purchase?