Advertisement
Guest User

Untitled

a guest
Feb 8th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. {
  2. "Version": "2008-10-17",
  3. "Id": "test-s3-privileges",
  4. "Statement": [
  5. {
  6. "Sid": "Stmt1",
  7. "Effect": "Allow",
  8. "Principal": {
  9. "AWS": "arn:aws:iam::xxxxxxxxxx:root"
  10. },
  11. "Action": "s3:*",
  12. "Resource": "arn:aws:s3:::test/*"
  13. },
  14. {
  15. "Sid": "Stmt2",
  16. "Effect": "Deny",
  17. "Principal": "*",
  18. "Action": "s3:DeleteObject",
  19. "Resource": "arn:aws:s3:::test/*"
  20. }
  21. ]
  22. }
  23.  
  24. {
  25. "Sid": "Stmt3",
  26. "Effect": "Allow",
  27. "Principal": {
  28. "AWS": "arn:aws:iam::xxxxxxxxxx:user/abc"
  29. },
  30. "Action": "s3:DeleteObject",
  31. "Resource": "arn:aws:s3:::test/splunk/*"
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement