Skip to content

Instantly share code, notes, and snippets.

@hrchu
Created March 18, 2015 09:18
Show Gist options
  • Save hrchu/33bbd35a4b95288ad695 to your computer and use it in GitHub Desktop.
Save hrchu/33bbd35a4b95288ad695 to your computer and use it in GitHub Desktop.
yet another s3 policy example
{
"Version": "2008-10-17",
"Id": "Policy1426504761539",
"Statement": [
{
"Sid": "Stmt1426504756244",
"Effect": "Deny",
"Principal": {
"AWS": "*"
},
"Action": "s3:DeleteBucketPolicy",
"Resource": "arn:aws:s3:::z.a"
},
{
"Sid": "Stmt1426504756244",
"Effect": "Deny",
"Principal": {
"AWS": "*"
},
"Action":
"s3:DeleteObject",
"Resource": "arn:aws:s3:::z.a/*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment