AWS Security ChangesHomeSearch

AWS AmazonS3: Fix malformed JSON in S3 Express IAM policy examples

Service: AmazonS3 · 2026-09-30 · Documentation medium

File: AmazonS3/latest/userguide/security_iam_service-with-iam.md · Type: iam

Summary

Repairs invalid JSON in several S3 Express access point and identity-based policy examples by converting Action strings into proper arrays and fixing merged/misplaced Effect and Resource fields.

Security assessment

The change corrects syntactically broken IAM policy examples (Action arrays, Effect/Resource placement) for S3 Express permissions. It improves the accuracy of access-control documentation but does not fix a specific vulnerability.

Evidence

-                "Action": "s3express:CreateSession","s3:GetObject"

Diff

diff --git a/AmazonS3/latest/userguide/security_iam_service-with-iam.md b/AmazonS3/latest/userguide/security_iam_service-with-iam.md
index f538395..16bac96 100644
--- a//AmazonS3/latest/userguide/security_iam_service-with-iam.md
+++ b//AmazonS3/latest/userguide/security_iam_service-with-iam.md
@@ -439 +439 @@ The following access point policy grants the user ``Akua`` with account ``123456
-                "Action": "s3express:CreateSession","s3:GetObject"
+                "Action": ["s3express:CreateSession", "s3:GetObject"],
@@ -522,2 +522,5 @@ The following IAM identity-based policy grants the `s3express:CreateAccessPoint`
-                "Action": "s3express:CreateSession",
-                "s3express:CreateAccessPoint""Effect": "Allow",
+                "Action": [
+                    "s3express:CreateSession",
+                    "s3express:CreateAccessPoint"
+                ],
+                "Effect": "Allow",
@@ -539 +542,2 @@ The following IAM identity-based policy grants the `s3express:PutAccessPointScop
-                "Action": "s3express:CreateSession",
+                "Action": [
+                    "s3express:CreateSession",
@@ -541,2 +545,4 @@ The following IAM identity-based policy grants the `s3express:PutAccessPointScop
-                "S3Express:PutAccessPointScope""Effect": "Allow",
-                "Resource": "*",
+                    "s3express:PutAccessPointScope"
+                ],
+                "Effect": "Allow",
+                "Resource": "*"