Last active
April 19, 2017 00:46
-
-
Save sponomarev/69ae43a226152e0f762d to your computer and use it in GitHub Desktop.
AllowPublicRead S3 bucket policy
This file contains 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
{ | |
"Id":"AllowPublicRead", | |
"Statement":[ | |
{ | |
"Sid":"AllowPublicRead", | |
"Action":[ | |
"s3:GetObject" | |
], | |
"Effect":"Allow", | |
"Resource":"arn:aws:s3:::your-bucket-name/*", | |
"Principal":{ | |
"AWS":[ | |
"*" | |
] | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment