AWS cognito documentation change
Summary
Updated example policy resource ARNs by replacing placeholder account ID 0123456789 with 111122223333 and added JSON section dividers
Security assessment
Change updates example account IDs for consistency but contains no security vulnerability references or new security guidance. Resource ARN formatting changes are routine documentation maintenance.
Diff
diff --git a/cognito/latest/developerguide/security_iam_id-based-policy-examples.md b/cognito/latest/developerguide/security_iam_id-based-policy-examples.md index 0b226da96..c9de3d11a 100644 --- a//cognito/latest/developerguide/security_iam_id-based-policy-examples.md +++ b//cognito/latest/developerguide/security_iam_id-based-policy-examples.md @@ -100,0 +101,6 @@ This example shows how you might create a policy that allows IAM users to view t +JSON + + +**** + + @@ -117 +123 @@ This example shows how you might create a policy that allows IAM users to view t - "Resource": "arn:aws:cognito-identity:us-east-1:0123456789:identitypool/us-east-1:1a1a1a1a-ffff-1111-9999-12345678" + "Resource": "arn:aws:cognito-identity:us-east-1:111122223333:identitypool/us-east-1:1a1a1a1a-ffff-1111-9999-12345678" @@ -124 +130 @@ This example shows how you might create a policy that allows IAM users to view t - "Resource": "arn:aws:cognito-sync:us-east-1:0123456789:identitypool/us-east-1:1a1a1a1a-ffff-1111-9999-12345678" + "Resource": "arn:aws:cognito-sync:us-east-1:111122223333:identitypool/us-east-1:1a1a1a1a-ffff-1111-9999-12345678" @@ -130,0 +138,6 @@ This example shows how you might create a policy that allows IAM users to view t +JSON + + +**** + + @@ -141 +154 @@ This example shows how you might create a policy that allows IAM users to view t - "Resource": "arn:aws:cognito-sync:us-east-1:0123456789:identitypool/us-east-1:1a1a1a1a-ffff-1111-9999-12345678/identity/*/dataset/UserProfile" + "Resource": "arn:aws:cognito-sync:us-east-1:111122223333:identitypool/us-east-1:1a1a1a1a-ffff-1111-9999-12345678/identity/*/dataset/UserProfile"