Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sample policy for a static website hosted on S3
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "S3StaticWebsitePolicy",
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::YOUR_DOMAIN.COM/*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment