Last active
February 8, 2018 20:09
-
-
Save gnzandrs/21bbf2814b973896cd731e8eef63579b to your computer and use it in GitHub Desktop.
This is a Bucket Policity to Amazon Web Services S3 bucket that allows you read all the files under base directories. For example, you can use this for serve css and js bundles from s3 without use a ACL at the moment of the object upload.
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":"ExampleFolderACL", | |
"Effect":"Allow", | |
"Principal": "*", | |
"Action":["s3:GetObject"], | |
"Resource":["arn:aws:s3:::my-bucket-name/*/*"] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example of the bucket estructure for bundles in S3.