Skip to content

Instantly share code, notes, and snippets.

@jongha
Created June 14, 2019 04:37
Show Gist options
  • Save jongha/f41180dc92501876faeb3dfa7a3d9984 to your computer and use it in GitHub Desktop.
Save jongha/f41180dc92501876faeb3dfa7a3d9984 to your computer and use it in GitHub Desktop.
How to Allow Public Access to an Amazon S3 Bucket Automatically
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicReadGetObject",
"Action": "s3:GetObject",
"Effect": "Allow",
"Resource": "arn:aws:s3:::[NAME]/*",
"Principal": "*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment