AWS AmazonS3 documentation change
Summary
Added JSON example of an Outposts bucket policy allowing specific actions for a principal
Security assessment
The change adds a policy example demonstrating access control configuration, which is security-related documentation. However, there is no evidence of addressing a specific security vulnerability.
Diff
diff --git a/AmazonS3/latest/s3-outposts/S3OutpostsBucketPolicyEdit.md b/AmazonS3/latest/s3-outposts/S3OutpostsBucketPolicyEdit.md index 6d134e5eb..d089e2e5a 100644 --- a//AmazonS3/latest/s3-outposts/S3OutpostsBucketPolicyEdit.md +++ b//AmazonS3/latest/s3-outposts/S3OutpostsBucketPolicyEdit.md @@ -31,0 +32,28 @@ The following AWS CLI example puts a policy on an Outposts bucket. +JSON + + +**** + + + { + "Version":"2012-10-17", + "Id":"testBucketPolicy", + "Statement":[ + { + "Sid":"st1", + "Effect":"Allow", + "Principal":{ + "AWS":"arn:aws:iam::123456789012:root" + }, + "Action":[ + "s3-outposts:GetObject", + "s3-outposts:PutObject", + "s3-outposts:DeleteObject", + "s3-outposts:ListBucket" + ], + "Resource":"arn:aws:s3-outposts:us-east-1:123456789012:outpost/op-01ac5d28a6a232904/bucket/amzn-s3-demo-bucket" + } + ] + } + +