Last active
March 7, 2019 01:51
-
-
Save ginokent/0b0e3cc9d611803ba9e2df2c1258bc8a to your computer and use it in GitHub Desktop.
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": "AllowAccountAccess", | |
"Effect": "Allow", | |
"Principal": { | |
"AWS": [ | |
"arn:aws:iam::000000000000:root", | |
"arn:aws:iam::999999999999:root" | |
] | |
}, | |
"Action": [ | |
"s3:GetBucketLocation", | |
"s3:GetObject", | |
"s3:ListBucket" | |
], | |
"Resource": [ | |
"arn:aws:s3:::yourbucketname/*", | |
"arn:aws:s3:::yourbucketname" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment