Skip to content

Instantly share code, notes, and snippets.

@bq1990
Created January 19, 2016 20:30
Show Gist options
  • Save bq1990/bf337fd5969414c39dd3 to your computer and use it in GitHub Desktop.
Save bq1990/bf337fd5969414c39dd3 to your computer and use it in GitHub Desktop.
s3 bucket policy
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "s3:*",
"Resource": [
"arn:aws:s3:::bucket-name-here",
"arn:aws:s3:::bucket-name-here/*"
]
},
{
"Effect": "Allow",
"Action": "s3:ListAllMyBuckets",
"Resource": "arn:aws:s3:::*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment