AWS AmazonS3: Remove sample MRAP VPC endpoint policy from PrivateLink page
Summary
Deletes the example VPC endpoint policy JSON (which allowed s3:GetObject on two backing buckets and the MRAP) and keeps only the prose stating the policy must allow both the MRAP and each backing bucket.
Security assessment
The change removes a policy example rather than adding or correcting a security control; the remaining prose still conveys the access requirement, and no specific weakness or advisory is referenced (the deleted sample also contained an inconsistent account ID, indicating editorial cleanup).
Evidence
+Because of this, the VPC endpoint policy must allow access both to the Multi-Region Access Point and to each underlying bucket that you want to be able to fulfill requests.
Diff
diff --git a/AmazonS3/latest/userguide/MultiRegionAccessPointsPrivateLink.md b/AmazonS3/latest/userguide/MultiRegionAccessPointsPrivateLink.md index 1c6eccf..ceb6b20 100644 --- a//AmazonS3/latest/userguide/MultiRegionAccessPointsPrivateLink.md +++ b//AmazonS3/latest/userguide/MultiRegionAccessPointsPrivateLink.md @@ -34,27 +34 @@ Remember that Multi-Region Access Points work by routing requests to buckets, no -Because of this, the VPC endpoint policy must allow access both to the Multi-Region Access Point and to each underlying bucket that you want to be able to fulfill requests. For example, suppose that you have a Multi-Region Access Point with the alias `mfzwi23gnjvgw.mrap`. It is backed by buckets `amzn-s3-demo-bucket1` and `amzn-s3-demo-bucket2`, all owned by AWS account `123456789012`. In this case, the following VPC endpoint policy would allow `GetObject` requests from the VPC made to `mfzwi23gnjvgw.mrap` to be fulfilled by either backing bucket. - -JSON - - -**** - - - - { - "Version":"2012-10-17", - "Statement": [ - { - "Sid": "Read-buckets-and-MRAP-VPCE-policy", - "Principal": "*", - "Action": [ - "s3:GetObject" - ], - "Effect": "Allow", - "Resource": [ - "arn:aws:s3:::amzn-s3-demo-bucket1/*", - "arn:aws:s3:::amzn-s3-demo-bucket2/*", - "arn:aws:s3::111122223333:accesspoint/mfzwi23gnjvgw.mrap/object/*" - ] - }] - } - +Because of this, the VPC endpoint policy must allow access both to the Multi-Region Access Point and to each underlying bucket that you want to be able to fulfill requests.