40 lines
696 B
Text
40 lines
696 B
Text
|
{
|
||
|
"Version": "2012-10-17",
|
||
|
"Statement": [
|
||
|
{
|
||
|
"Effect": "Allow",
|
||
|
"Principal": {
|
||
|
"AWS": [
|
||
|
"*"
|
||
|
]
|
||
|
},
|
||
|
"Action": [
|
||
|
"s3:GetBucketLocation",
|
||
|
"s3:ListBucket",
|
||
|
"s3:ListBucketMultipartUploads"
|
||
|
],
|
||
|
"Resource": [
|
||
|
"arn:aws:s3:::testbucket3"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"Effect": "Allow",
|
||
|
"Principal": {
|
||
|
"AWS": [
|
||
|
"*"
|
||
|
]
|
||
|
},
|
||
|
"Action": [
|
||
|
"s3:AbortMultipartUpload",
|
||
|
"s3:DeleteObject",
|
||
|
"s3:GetObject",
|
||
|
"s3:ListMultipartUploadParts",
|
||
|
"s3:PutObject"
|
||
|
],
|
||
|
"Resource": [
|
||
|
"arn:aws:s3:::testbucket3/*"
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|