Created
April 23, 2018 17:01
-
-
Save Grendel7/e962f0ee838307e7c6046c75c214629f to your computer and use it in GitHub Desktop.
AWS S3 permissions template for full access to a single bucket
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"s3:ListBucket", | |
"s3:GetBucketLocation", | |
"s3:ListBucketMultipartUploads" | |
], | |
"Resource": "arn:aws:s3:::BUCKETNAME", | |
"Condition": {} | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"s3:AbortMultipartUpload", | |
"s3:GetObject", | |
"s3:GetObjectAcl", | |
"s3:GetObjectVersion", | |
"s3:GetObjectVersionAcl" | |
], | |
"Resource": "arn:aws:s3:::BUCKETNAME/*", | |
"Condition": {} | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": "s3:ListAllMyBuckets", | |
"Resource": "*", | |
"Condition": {} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment