Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "Version": "2008-10-17",
- "Id": "test-s3-privileges",
- "Statement": [
- {
- "Sid": "Stmt1",
- "Effect": "Allow",
- "Principal": {
- "AWS": "arn:aws:iam::xxxxxxxxxx:root"
- },
- "Action": "s3:*",
- "Resource": "arn:aws:s3:::test/*"
- },
- {
- "Sid": "Stmt2",
- "Effect": "Deny",
- "Principal": "*",
- "Action": "s3:DeleteObject",
- "Resource": "arn:aws:s3:::test/*"
- }
- ]
- }
- {
- "Sid": "Stmt3",
- "Effect": "Allow",
- "Principal": {
- "AWS": "arn:aws:iam::xxxxxxxxxx:user/abc"
- },
- "Action": "s3:DeleteObject",
- "Resource": "arn:aws:s3:::test/splunk/*"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement