AWS Security ChangesHomeSearch

AWS cli documentation change

Service: cli · 2026-05-04 · Documentation medium

File: cli/latest/reference/cloudwatch/put-dashboard.md

Summary

Added --tags parameter for dashboard creation with IAM permission scoping documentation

Security assessment

Adds documentation for tag-based access control, enabling permission scoping via IAM policies. This is a security feature enhancement but doesn't address a specific vulnerability.

Diff

diff --git a/cli/latest/reference/cloudwatch/put-dashboard.md b/cli/latest/reference/cloudwatch/put-dashboard.md
index b8731fc1f..fba3d0116 100644
--- a//cli/latest/reference/cloudwatch/put-dashboard.md
+++ b//cli/latest/reference/cloudwatch/put-dashboard.md
@@ -15 +15 @@
-  * [AWS CLI 2.34.40 Command Reference](../../index.html) »
+  * [AWS CLI 2.34.41 Command Reference](../../index.html) »
@@ -75,0 +76 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/monito
+    [--tags <value>]
@@ -110,0 +112,52 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/monito
+`--tags` (list)
+
+> A list of key-value pairs to associate with the dashboard. You can associate as many as 50 tags with a dashboard.
+> 
+> Tags can help you organize and categorize your dashboards. You can also use them to scope user permissions by granting a user permission to access or change only dashboards with certain tag values.
+> 
+> You can use this parameter only when creating a new dashboard. If you specify `Tags` when updating an existing dashboard, the tag updates are ignored. To add or update tags on an existing dashboard, use [TagResource](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_TagResource.html) . To remove tags, use [UntagResource](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_UntagResource.html) .
+> 
+> (structure)
+>
+>> A key-value pair associated with a CloudWatch resource.
+>> 
+>> Key -> (string) [required]
+>>
+>>> A string that you can use to assign a value. The combination of tag keys and values can help you organize and categorize your resources.
+>>> 
+>>> Constraints:
+>>> 
+>>>   * min: `1`
+>>>   * max: `128`
+>>> 
+
+>> 
+>> Value -> (string) [required]
+>>
+>>> The value for the specified tag key.
+>>> 
+>>> Constraints:
+>>> 
+>>>   * min: `0`
+>>>   * max: `256`
+>>> 
+
+
+Shorthand Syntax:
+    
+    
+    Key=string,Value=string ...
+    
+
+JSON Syntax:
+    
+    
+    [
+      {
+        "Key": "string",
+        "Value": "string"
+      }
+      ...
+    ]
+    
+
@@ -282 +335 @@ DashboardValidationMessages -> (list)
-  * [AWS CLI 2.34.40 Command Reference](../../index.html) »
+  * [AWS CLI 2.34.41 Command Reference](../../index.html) »