Skip to content

Instantly share code, notes, and snippets.

@craigmdennis
Created April 1, 2016 21:41
Show Gist options
  • Save craigmdennis/a82e7ca59ee7ae5ad143572c19ec1384 to your computer and use it in GitHub Desktop.
Save craigmdennis/a82e7ca59ee7ae5ad143572c19ec1384 to your computer and use it in GitHub Desktop.
Public AWS S3 bucket policy for static sites
{
"Version":"2008-10-17",
"Statement":[{
"Sid":"AllowPublicRead",
"Effect":"Allow",
"Principal": {
"AWS": "*"
},
"Action":["s3:GetObject"],
"Resource":["arn:aws:s3:::your-bucket-name/*"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment