AWS AmazonS3 documentation change
Summary
Added JSON formatting markers, updated account IDs to specific values, and improved IAM policy syntax formatting
Security assessment
Modifications focus on example accuracy and documentation structure rather than security-related content
Diff
diff --git a/AmazonS3/latest/userguide/example-walkthroughs-managing-access-example4.md b/AmazonS3/latest/userguide/example-walkthroughs-managing-access-example4.md index b9811ff1f..5bc1a45dc 100644 --- a//AmazonS3/latest/userguide/example-walkthroughs-managing-access-example4.md +++ b//AmazonS3/latest/userguide/example-walkthroughs-managing-access-example4.md @@ -179,0 +180,6 @@ Update the policy by providing your own values for ``amzn-s3-demo-bucket1``, ``A +JSON + + +**** + + @@ -187 +193 @@ Update the policy by providing your own values for ``amzn-s3-demo-bucket1``, ``A - "AWS": "arn:aws:iam::AccountB-ID:user/AccountBadmin" + "AWS": "arn:aws:iam::111122223333:user/AccountBadmin" @@ -196 +202 @@ Update the policy by providing your own values for ``amzn-s3-demo-bucket1``, ``A - "AWS": "arn:aws:iam::AccountB-ID:user/AccountBadmin" + "AWS": "arn:aws:iam::111122223333:user/AccountBadmin" @@ -225,0 +233,6 @@ In the [IAM Console](https://console.aws.amazon.com/iam/), create an IAM role (` +JSON + + +**** + + @@ -268,0 +283,6 @@ The following trust policy establishes trust with Account C, by allowing it the +JSON + + +**** + + @@ -276 +296 @@ The following trust policy establishes trust with Account C, by allowing it the - "AWS": "arn:aws:iam::AccountC-ID:root" + "AWS": "arn:aws:iam::111122223333:root" @@ -340,0 +362,6 @@ You must update the policy by providing the ``AccountA-ID``. +JSON + + +**** + + @@ -346,2 +373,4 @@ You must update the policy by providing the ``AccountA-ID``. - "Action": ["sts:AssumeRole"], - "Resource": "arn:aws:iam::AccountA-ID:role/examplerole" + "Action": [ + "sts:AssumeRole" + ], + "Resource": "arn:aws:iam::111122223333:role/examplerole"