Created
July 5, 2019 14:58
-
-
Save vidanov/7bc319b350da22ef002a854f434c9ae0 to your computer and use it in GitHub Desktop.
s3 source bucket policy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "DelegateS3Access", | |
"Effect": "Allow", | |
"Principal": { | |
"AWS": "arn:aws:iam::12345678910:root" | |
}, | |
"Action": [ | |
"s3:GetObject", | |
"s3:GetObjectAcl", | |
"s3:GetBucketLocation", | |
"s3:ListBucket" | |
], | |
"Resource": [ | |
"arn:aws:s3:::thisBucketName", | |
"arn:aws:s3:::thisBucketName/*" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment