mirror of
https://github.com/Luzifer/past3.git
synced 2024-11-09 08:20:02 +00:00
47 lines
1.2 KiB
JSON
47 lines
1.2 KiB
JSON
|
{
|
||
|
"Version": "2012-10-17",
|
||
|
"Statement": [
|
||
|
{
|
||
|
"Effect": "Allow",
|
||
|
"Action": [
|
||
|
"mobileanalytics:PutEvents",
|
||
|
"cognito-sync:*",
|
||
|
"cognito-identity:*"
|
||
|
],
|
||
|
"Resource": [
|
||
|
"*"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"Effect": "Allow",
|
||
|
"Action": [
|
||
|
"s3:ListBucket"
|
||
|
],
|
||
|
"Resource": [
|
||
|
"arn:aws:s3:::past3"
|
||
|
],
|
||
|
"Condition": {
|
||
|
"StringLike": {
|
||
|
"s3:prefix": [
|
||
|
"${cognito-identity.amazonaws.com:sub}/"
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"Effect": "Allow",
|
||
|
"Action": [
|
||
|
"s3:GetObject",
|
||
|
"s3:GetObjectAcl",
|
||
|
"s3:PutObject",
|
||
|
"s3:PutObjectAcl",
|
||
|
"s3:DeleteObject"
|
||
|
],
|
||
|
"Resource": [
|
||
|
"arn:aws:s3:::past3/${cognito-identity.amazonaws.com:sub}",
|
||
|
"arn:aws:s3:::past3/${cognito-identity.amazonaws.com:sub}/*"
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|