Advertisement
Guest User

Untitled

a guest
Aug 17th, 2017
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.80 KB | None | 0 0
  1. A client error (AccessDenied) occurred when calling the CreateMultipartUpload operation: Access Denied
  2.  
  3. {
  4. "Version": "2012-10-17",
  5. "Statement": [
  6. {
  7. "Effect": "Allow",
  8. "Action": [
  9. "s3:ListAllMyBuckets"
  10. ],
  11. "Resource": "arn:aws:s3:::*"
  12. },
  13. {
  14. "Effect": "Allow",
  15. "Action": [
  16. "s3:ListBucket",
  17. "s3:GetBucketLocation"
  18. ],
  19. "Resource": "arn:aws:s3:::mybucket"
  20. },
  21. {
  22. "Effect": "Allow",
  23. "Action": [
  24. "s3:PutObject",
  25. "s3:GetObject",
  26. "s3:DeleteObject",
  27. "s3:CreateMultipartUpload",
  28. "s3:AbortMultipartUpload",
  29. "s3:ListMultipartUploadParts",
  30. "s3:ListBucketMultipartUploads"
  31. ],
  32. "Resource": "arn:aws:s3:::mybucket/*"
  33. }
  34. ]
  35. }
  36.  
  37. {
  38. "Version": "2012-10-17",
  39. "Statement": [
  40. {
  41. "Effect": "Allow",
  42. "Action": [
  43. "s3:ListAllMyBuckets"
  44. ],
  45. "Resource": "arn:aws:s3:::*"
  46. },
  47. {
  48. "Effect": "Allow",
  49. "Action": [
  50. "s3:ListBucket",
  51. "s3:GetBucketLocation"
  52. ],
  53. "Resource": "arn:aws:s3:::mybucket"
  54. },
  55. {
  56. "Effect": "Allow",
  57. "Action": [
  58. "s3:PutObject",
  59. "s3:GetObject",
  60. "s3:DeleteObject",
  61. "s3:AbortMultipartUpload",
  62. "s3:ListMultipartUploadParts",
  63. "s3:ListBucketMultipartUploads"
  64. ],
  65. "Resource": "arn:aws:s3:::mybucket",
  66. "Resource": "arn:aws:s3:::mybucket/*"
  67. }
  68. ]
  69. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement