AWS Security ChangesHomeSearch

AWS cli documentation change

Service: cli · 2025-10-01 · Documentation low

File: cli/latest/reference/vpc-lattice/put-resource-policy.md

Summary

Updated CLI version reference from 2.31.3 to 2.31.5. Swapped parameter order between --policy and --resource-arn, updated validation patterns and length constraints for both parameters.

Security assessment

Changes involve parameter reorganization and validation pattern updates for resource ARNs. No evidence of addressing security vulnerabilities or adding security-specific documentation.

Diff

diff --git a/cli/latest/reference/vpc-lattice/put-resource-policy.md b/cli/latest/reference/vpc-lattice/put-resource-policy.md
index 9e91f7cc3..6d18ba74e 100644
--- a//cli/latest/reference/vpc-lattice/put-resource-policy.md
+++ b//cli/latest/reference/vpc-lattice/put-resource-policy.md
@@ -15 +15 @@
-  * [AWS CLI 2.31.3 Command Reference](../../index.html) »
+  * [AWS CLI 2.31.5 Command Reference](../../index.html) »
@@ -67 +66,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la
-    --policy <value>
@@ -68,0 +68 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la
+    --policy <value>
@@ -93 +93 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la
-`--policy` (string) [required]
+`--resource-arn` (string) [required]
@@ -95 +95 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la
-> An IAM policy. The policy string in JSON must not contain newlines or blank lines.
+> The ID or ARN of the service network or service for which the policy is created.
@@ -99,3 +99,3 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la
->   * min: `1`
->   * max: `10000`
->   * pattern: `^.*\S.*$`
+>   * min: `20`
+>   * max: `200`
+>   * pattern: `arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-9]+)*)?){2}:((servicenetwork/sn)|(service/svc)|(resourceconfiguration/rcfg))-[0-9a-z]{17}`
@@ -105 +105 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la
-`--resource-arn` (string) [required]
+`--policy` (string) [required]
@@ -107 +107 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la
-> The ID or ARN of the service network or service for which the policy is created.
+> An IAM policy. The policy string in JSON must not contain newlines or blank lines.
@@ -111,3 +111,3 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la
->   * min: `20`
->   * max: `200`
->   * pattern: `^arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-9]+)*)?){2}:((servicenetwork/sn)|(service/svc)|(resourceconfiguration/rcfg))-[0-9a-z]{17}$`
+>   * min: `1`
+>   * max: `10000`
+>   * pattern: `.*\S.*`
@@ -228 +228 @@ None
-  * [AWS CLI 2.31.3 Command Reference](../../index.html) »
+  * [AWS CLI 2.31.5 Command Reference](../../index.html) »