Skip to content

Instantly share code, notes, and snippets.

@weijianwen
Last active August 29, 2015 14:16
Show Gist options
  • Save weijianwen/11b95c6821a2e9b91469 to your computer and use it in GitHub Desktop.
Save weijianwen/11b95c6821a2e9b91469 to your computer and use it in GitHub Desktop.
S3 policy to make a bucket public accessible
{
"Version": "2008-10-17",
"Id": "UNIQUE_POLICY_NUM",
"Statement": [
{
"Sid": "UNIQUE_SID",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::your_bucket/*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment