Skip to content

Instantly share code, notes, and snippets.

@danlourenco
Created March 2, 2019 23:40
Show Gist options
  • Save danlourenco/4ab17d1e03fc88c65fd44954d1b6b1bd to your computer and use it in GitHub Desktop.
Save danlourenco/4ab17d1e03fc88c65fd44954d1b6b1bd to your computer and use it in GitHub Desktop.
S3 Bucket Policy - Public Website
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicReadGetObject",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::bucket-name-here/*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment