AWS Security ChangesHomeSearch

AWS sns: Fix malformed IAM ARN in SNS VPC endpoint policy example

Service: sns · 2026-11-13 · Documentation medium

File: sns/latest/dg/sns-vpc-endpoint-policy.md · Type: iam

Summary

Corrected the IAM user ARN in the example VPC endpoint policy by adding the missing colon between the account ID and resource path (arn:aws:iam::123456789012:user/MyUser).

Security assessment

The change fixes a syntactically invalid IAM principal ARN in a VPC endpoint policy example. A malformed ARN would make the example policy fail or behave unexpectedly for users copying it, so the fix improves the correctness of security-relevant access-control configuration, but it does not remediate a specific vulnerability.

Evidence

          "AWS": "arn:aws:iam::123456789012:user/MyUser"

Diff

diff --git a/sns/latest/dg/sns-vpc-endpoint-policy.md b/sns/latest/dg/sns-vpc-endpoint-policy.md
index 4439814..ab383b7 100644
--- a//sns/latest/dg/sns-vpc-endpoint-policy.md
+++ b//sns/latest/dg/sns-vpc-endpoint-policy.md
@@ -31 +31 @@ The following example VPC endpoint policy specifies that the IAM user `MyUser` i
-          "AWS": "arn:aws:iam:123456789012:user/MyUser"
+          "AWS": "arn:aws:iam::123456789012:user/MyUser"