AWS Security ChangesHomeSearch

AWS verifiedpermissions: Update Verified Permissions policy size quota docs and examples

Service: verifiedpermissions · 2026-10-24 · Documentation low

File: verifiedpermissions/latest/userguide/policy-size-per-resource.md

Summary

Updates the Policy size per resource quota default from 200,000 bytes to 1 MB, documents a separate 200,000-byte Policy size per resource principal combination quota that is not adjustable, and revises the examples and byte totals accordingly.

Security assessment

The diff only updates quota values and examples for AWS Verified Permissions. It does not reference or remediate a vulnerability, CVE, or incident, and the changed lines describe policy size limits rather than a security feature or best practice.

Evidence

+Verified Permissions also limits the total size of all policies that reference the same combination of a principal and a resource. This limit is the _Policy size per resource principal combination_ quota, and its value is 200,000 bytes. This limit is not adjustable.

Diff

diff --git a/verifiedpermissions/latest/userguide/policy-size-per-resource.md b/verifiedpermissions/latest/userguide/policy-size-per-resource.md
index 9aaea49..bda0f4f 100644
--- a//verifiedpermissions/latest/userguide/policy-size-per-resource.md
+++ b//verifiedpermissions/latest/userguide/policy-size-per-resource.md
@@ -11 +11 @@ How policy sizes are calculatedStaying within the quotaTemplate-linked policy si
-Verified Permissions limits the total size of all policies that reference the same resource. This limit is the _Policy size per resource_ quota, and its default value is 200,000 bytes. When you call `CreatePolicy` or `UpdatePolicy`, Verified Permissions calculates the new total for the referenced resource. If the new total exceeds the quota, the request fails with a `ServiceQuotaExceededException`.
+Verified Permissions limits the total size of all policies that reference the same resource. This limit is the _Policy size per resource_ quota, and its default value is 1 MB. When you call `CreatePolicy` or `UpdatePolicy`, Verified Permissions calculates the new total for the referenced resource. If the new total exceeds the quota, the request fails with a `ServiceQuotaExceededException`.
@@ -13 +13,3 @@ Verified Permissions limits the total size of all policies that reference the sa
-Policies that don't specify a resource apply to all resources. These policies share a separate total for the `"unspecified"` resource, which is limited to the same quota value.
+Verified Permissions also limits the total size of all policies that reference the same combination of a principal and a resource. This limit is the _Policy size per resource principal combination_ quota, and its value is 200,000 bytes. This limit is not adjustable.
+
+Policies that don't specify a resource apply to all resources. These policies share a separate total for the `"unspecified"` resource, which is subject to the same _Policy size per resource_ quota.
@@ -51 +53 @@ If your application approaches the _Policy size per resource_ quota, consider th
-  * **Request a quota increase.** You can request an increase to this quota if your policy design meets certain constraints. To qualify, your policies must specify the principal or resource in the policy scope. An increase might also reduce the number of hierarchy parents that your principals and resources can have. Even with an increased quota, a 200,000-byte sub-limit still applies to policies that reference the same principal and the same resource. You cannot request an increase to this sub-limit.
+  * **Request a quota increase.** You can request an increase to the _Policy size per resource_ quota if your policy design meets certain constraints. To qualify, your policies must specify the principal or resource in the policy scope. An increase might also reduce the number of hierarchy parents that your principals and resources can have. The _Policy size per resource principal combination_ quota is a separate 200,000-byte limit that applies to policies that reference the same combination of principal and resource. This limit is not adjustable.
@@ -58 +60 @@ If your application approaches the _Policy size per resource_ quota, consider th
-To find how template-linked policies contribute to the _Policy size per resource_ quota, add the length of the principal and the length of the resource. If you don't specify a resource, Verified Permissions counts its size toward the `"unspecified"` resource total.
+To find how template-linked policies contribute to the _Policy size per resource_ quota and the _Policy size per resource principal combination_ quota, add the length of the principal and the length of the resource. If you don't specify a resource, Verified Permissions counts its size toward the `"unspecified"` resource.
@@ -104,0 +107,7 @@ Create the following policies from that template:
+      resource: Photo::"boat.jpg"
+    }
+    
+    TemplateLinkedPolicy {
+      policyId: "policy5",
+      templateId: "template1",
+      principal: User::"jane",
@@ -116 +125,26 @@ The size of `policy3` is the length of the principal `User::"jane"` (12) plus th
-The size of `policy4` is the length of the principal `User::"jane"` (12) plus the length of the resource (0). The total is 12 + 0 = 12 bytes.
+The size of `policy4` is the length of the principal `User::"jane"` (12) plus the length of the resource `Photo::"boat.jpg"` (17). The total is 12 + 17 = 29 bytes.
+
+The size of `policy5` is the length of the principal `User::"jane"` (12) plus the length of the resource (0). The total is 12 + 0 = 12 bytes.
+
+The following totals apply to the _Policy size per resource_ quota. Because `policy5` doesn't specify a resource, its size counts toward the `"unspecified"` resource.
+
+  * The total for the `"unspecified"` resource is `policy5` (12), which is 12 bytes.
+
+  * The total for `Photo::"car.jpg"` is the sum of `policy1` (29) and `policy3` (28), which is 57 bytes.
+
+  * The total for `Photo::"boat.jpg"` is the sum of `policy2` (28) and `policy4` (29), which is 57 bytes.
+
+
+
+
+The following totals apply to the _Policy size per resource principal combination_ quota. Because `policy5` doesn't specify a resource, its size counts toward the combination of its principal, `User::"jane"`, and the `"unspecified"` resource.
+
+  * The total for `User::"alice"` and `Photo::"car.jpg"` is `policy1` (29), which is 29 bytes.
+
+  * The total for `User::"bob"` and `Photo::"boat.jpg"` is `policy2` (28), which is 28 bytes.
+
+  * The total for `User::"jane"` and `Photo::"car.jpg"` is `policy3` (28), which is 28 bytes.
+
+  * The total for `User::"jane"` and `Photo::"boat.jpg"` is `policy4` (29), which is 29 bytes.
+
+  * The total for `User::"jane"` and the `"unspecified"` resource is `policy5` (12), which is 12 bytes.
@@ -118 +151,0 @@ The size of `policy4` is the length of the principal `User::"jane"` (12) plus th
-Because `policy2` is the only policy that references the resource `Photo::"boat.jpg"`, the total resource size is 28 bytes.
@@ -120 +152,0 @@ Because `policy2` is the only policy that references the resource `Photo::"boat.
-Because `policy1` and `policy3` both reference the resource `Photo::"car.jpg"`, the total resource size is 29 + 28 = 57 bytes.
@@ -122 +153,0 @@ Because `policy1` and `policy3` both reference the resource `Photo::"car.jpg"`,
-Because `policy4` is the only policy that references the `"unspecified"` resource, the total resource size is 12 bytes.