Skip to content

Instantly share code, notes, and snippets.

@benjamincharity
Last active December 19, 2016 15:31
Show Gist options
  • Save benjamincharity/6ab4409b64acb5369877 to your computer and use it in GitHub Desktop.
Save benjamincharity/6ab4409b64acb5369877 to your computer and use it in GitHub Desktop.
Amazon S3 bucket policy for static site.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowPublicRead",
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::cdn.mysite.com/*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment