AWS datasync documentation change
Summary
Fixed JSON formatting, updated regions/account IDs in policy examples, and standardized placeholders
Security assessment
Example policy syntax improvements and placeholder standardization. No security-related context provided.
Diff
diff --git a/datasync/latest/userguide/create-s3-location.md b/datasync/latest/userguide/create-s3-location.md index 4f0fcb9f2..ca29f7d8d 100644 --- a//datasync/latest/userguide/create-s3-location.md +++ b//datasync/latest/userguide/create-s3-location.md @@ -118 +118,2 @@ Amazon S3 on Outposts - "Statement": [{ + "Statement": [ + { @@ -125,2 +126,2 @@ Amazon S3 on Outposts - "arn:aws:s3-outposts:region:account-id:outpost/outpost-id/bucket/amzn-s3-demo-bucket", - "arn:aws:s3-outposts:region:account-id:outpost/outpost-id/accesspoint/bucket-access-point-name" + "arn:aws:s3-outposts:us-east-1:account-id:outpost/outpost-id/bucket/amzn-s3-demo-bucket", + "arn:aws:s3-outposts:us-east-1:account-id:outpost/outpost-id/accesspoint/bucket-access-point-name" @@ -143,2 +144,2 @@ Amazon S3 on Outposts - "arn:aws:s3-outposts:region:account-id:outpost/outpost-id/bucket/amzn-s3-demo-bucket/*", - "arn:aws:s3-outposts:region:account-id:outpost/outpost-id/accesspoint/bucket-access-point-name/*" + "arn:aws:s3-outposts:us-east-1:account-id:outpost/outpost-id/bucket/amzn-s3-demo-bucket/*", + "arn:aws:s3-outposts:us-east-1:account-id:outpost/outpost-id/accesspoint/bucket-access-point-name/*" @@ -150 +151 @@ Amazon S3 on Outposts - "Resource": "arn:aws:s3-outposts:region:account-id:outpost/outpost-id/accesspoint/bucket-access-point-name" + "Resource": "arn:aws:s3-outposts:us-east-1:account-id:outpost/outpost-id/accesspoint/bucket-access-point-name" @@ -276 +277 @@ JSON - "AWS": "arn:aws:iam::account-id:root" + "AWS": "arn:aws:iam::111122223333:root" @@ -285 +286 @@ JSON - "AWS": "arn:aws:iam::account-id:role/admin-role-name" + "AWS": "arn:aws:iam::111122223333:role/admin-role-name" @@ -309 +310 @@ JSON - "AWS": "arn:aws:iam::account-id:role/datasync-role-name" + "AWS": "arn:aws:iam::111122223333:role/datasync-role-name" @@ -422 +423 @@ The following example is an S3 bucket policy that denies access from all but two - "arn:aws:iam::account-id:role/datasync-location-role-name" + "arn:aws:iam::111122223333:role/datasync-location-role-name"