Skip to content

Instantly share code, notes, and snippets.

@sobytes
Created February 27, 2015 09:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sobytes/9e5a5a5a77139f89ae2c to your computer and use it in GitHub Desktop.
Save sobytes/9e5a5a5a77139f89ae2c to your computer and use it in GitHub Desktop.
Policy
{
"Version": "2016-10-17",
"Statement": [
{
"Effect":"Allow",
"Action":[
"s3:*"
],
"Resource":[
"arn:aws:s3:::bucket",
"arn:aws:s3:::bucket/*"
]
},
{
"Effect": "Deny",
"Action": [
"s3:*"
],
"NotResource": [
"arn:aws:s3:::bucket",
"arn:aws:s3:::bucket/*"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment