AWS Security ChangesHomeSearch

AWS IAM medium security documentation change

Service: IAM · 2025-07-25 · Security-related medium

File: IAM/latest/UserGuide/reference_policies_elements_condition_operators.md

Summary

Updated account IDs, improved JSON formatting, and corrected region in ARN examples

Security assessment

Corrects region specifications in ARNs that could prevent policy enforcement failures

Diff

diff --git a/IAM/latest/UserGuide/reference_policies_elements_condition_operators.md b/IAM/latest/UserGuide/reference_policies_elements_condition_operators.md
index c7313494f..d819bd6c7 100644
--- a//IAM/latest/UserGuide/reference_policies_elements_condition_operators.md
+++ b//IAM/latest/UserGuide/reference_policies_elements_condition_operators.md
@@ -80 +80 @@ JSON
-        "Resource": "arn:aws:iam::account-id:user/*",
+            "Resource": "arn:aws:iam::111122223333:user/*",
@@ -596,2 +596,6 @@ JSON
-        "Resource": "arn:aws:iam::account-id:user/*",
-        "Condition": {"DateGreaterThan": {"aws:TokenIssueTime": "2020-01-01T00:00:01Z"}}
+            "Resource": "arn:aws:iam::111122223333:user/*",
+            "Condition": {
+                "DateGreaterThan": {
+                    "aws:TokenIssueTime": "2020-01-01T00:00:01Z"
+                }
+            }
@@ -786 +790 @@ JSON
-        "Resource": "arn:aws:iam::account-id:user/*",
+            "Resource": "arn:aws:iam::111122223333:user/*",
@@ -891 +895,3 @@ JSON
-        "Principal": {"Service": "sns.amazonaws.com"},
+            "Principal": {
+                "Service": "sns.amazonaws.com"
+            },
@@ -893 +899 @@ JSON
-        "Resource": "arn:aws:sqs:REGION:123456789012:QUEUE-ID",
+            "Resource": "arn:aws:sqs:us-east-1:123456789012:QUEUE-ID",
@@ -896 +902 @@ JSON
-            "aws:SourceArn": "arn:aws:sns:REGION:123456789012:TOPIC-ID"
+                    "aws:SourceArn": "arn:aws:sns:us-east-1:123456789012:TOPIC-ID"
@@ -980,0 +987 @@ JSON
+            }