Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save chocopuff2020/d3fd3f6d59c5096b9bae22727d8657b6 to your computer and use it in GitHub Desktop.
Save chocopuff2020/d3fd3f6d59c5096b9bae22727d8657b6 to your computer and use it in GitHub Desktop.
s3-webhosting-bucket-policy
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicReadGetObject",
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::YOUR-BUCKET-NAME-HERE/*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment