Skip to content

Instantly share code, notes, and snippets.

@pkazmierczak
Created January 12, 2016 12:31
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 pkazmierczak/f1d0a1692365f0956308 to your computer and use it in GitHub Desktop.
Save pkazmierczak/f1d0a1692365f0956308 to your computer and use it in GitHub Desktop.
AWS IAM policy for allowing access to all but the specified resources
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Stmt1452600517000",
"Effect": "Allow",
"Action": [
"s3:*"
],
"NotResource": [
"arn:aws:s3:::piotr-kazmierczak-test/*"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment