AWS Security ChangesHomeSearch

AWS cli documentation change

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

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

Summary

Added examples section demonstrating constraint description with CLI command and output format

Security assessment

The change provides example usage of describe-constraint command. No security vulnerabilities are addressed, and the output shows existing configuration without security-specific content.

Diff

diff --git a/cli/latest/reference/servicecatalog/describe-constraint.md b/cli/latest/reference/servicecatalog/describe-constraint.md
index dfca4c840..82769ee7c 100644
--- a//cli/latest/reference/servicecatalog/describe-constraint.md
+++ b//cli/latest/reference/servicecatalog/describe-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
@@ -231,0 +233,35 @@ 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 describe a constraint**
+
+The following `describe-constraint` example describes a constraint.
+    
+    
+    aws servicecatalog describe-constraint \
+        --id "cons-oqp52evr4bxxxx"
+    
+
+Output:
+    
+    
+    {
+        "ConstraintDetail": {
+            "ConstraintId": "cons-7tr6gei4bxxxx",
+            "Type": "LAUNCH",
+            "Owner": "123456789012",
+            "ProductId": "prod-cfrfxmra3xxxx",
+            "PortfolioId": "port-y3fnkeslpxxxx"
+        },
+        "ConstraintParameters": "{\"RoleArn\" : \"arn:aws:iam::123456789012:role/LaunchRole\"}",
+        "Status": "AVAILABLE"
+    }
+    
+
+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_.
+
@@ -338 +374 @@ Status -> (string)
-  * [AWS CLI 2.35.13 Command Reference](../../index.html) »
+  * [AWS CLI 2.35.15 Command Reference](../../index.html) »