AWS Security ChangesHomeSearch

AWS cli documentation change

Service: cli · 2026-07-04 · Documentation low

File: cli/latest/reference/servicecatalog/update-constraint.md

Summary

Updated CLI version references from 2.35.13 to 2.35.15 and added an 'Examples' section demonstrating constraint updates

Security assessment

The change adds operational examples without addressing vulnerabilities or security controls. The example shows role assignment but doesn't discuss security implications like permission scoping or attack vectors.

Diff

diff --git a/cli/latest/reference/servicecatalog/update-constraint.md b/cli/latest/reference/servicecatalog/update-constraint.md
index d05be8fa2..157036081 100644
--- a//cli/latest/reference/servicecatalog/update-constraint.md
+++ b//cli/latest/reference/servicecatalog/update-constraint.md
@@ -15 +15 @@
-  * [AWS CLI 2.35.13 Command Reference](../../index.html) »
+  * [AWS CLI 2.35.15 Command Reference](../../index.html) »
@@ -35,0 +36 @@
+    * Examples
@@ -299,0 +301,37 @@ The formatting style for error output. By default, errors are displayed in enhan
+## Examples¶
+
+### Note
+
+To use the following examples, you must have the AWS CLI installed and configured. See the [Getting started guide](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html) in the _AWS CLI User Guide_ for more information.
+
+Unless otherwise stated, all examples have unix-like quotation rules. These examples will need to be adapted to your terminal’s quoting rules. See [Using quotation marks with strings](https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-parameters-quoting-strings.html) in the _AWS CLI User Guide_ .
+
+**To update a constraint**
+
+The following `update-constraint` example updates a constraint.
+    
+    
+    aws servicecatalog update-constraint \
+        --id cons-dgdyqdqrxxxxx \
+        --parameters '{"LocalRoleName": "TestLaunchRole"}'
+    
+
+Output:
+    
+    
+    {
+        "ConstraintDetail": {
+            "ConstraintId": "cons-dgdyqdqrxxxxx",
+            "Type": "LAUNCH",
+            "Description": "Launch as local role TestLaunchRole",
+            "Owner": "123456789012",
+            "ProductId": "prod-j6pd3hf6xxxxx",
+            "PortfolioId": "port-y3fnkeslxxxxx"
+        },
+        "ConstraintParameters": "{\"LocalRoleName\": \"TestLaunchRole\"}",
+        "Status": "CREATING"
+    }
+    
+
+For more information, see [Using AWS Service Catalog Constraints](https://docs.aws.amazon.com/servicecatalog/latest/adminguide/constraints.html) in the _AWS Service Catalog User Guide_.
+
@@ -406 +444 @@ Status -> (string)
-  * [AWS CLI 2.35.13 Command Reference](../../index.html) »
+  * [AWS CLI 2.35.15 Command Reference](../../index.html) »