Skip to content

Instantly share code, notes, and snippets.

@rhysgodfrey
Created September 29, 2014 13:18
Show Gist options
  • Save rhysgodfrey/ff5e49926e82715f9380 to your computer and use it in GitHub Desktop.
Save rhysgodfrey/ff5e49926e82715f9380 to your computer and use it in GitHub Desktop.
Full access to a specific S3 bucket - replace "bucket-name" with name of the bucket
{
"Statement":[
{
"Effect":"Allow",
"Action":[
"s3:ListAllMyBuckets"
],
"Resource":"arn:aws:s3:::*"
},
{
"Effect":"Allow",
"Action":[
"s3:*"
],
"Resource": [
"arn:aws:s3:::bucket-name",
"arn:aws:s3:::bucket-name/*"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment