forked from mtusi2026/mtusi2026lab7
Реализовать защиту Lab7 и проверку отзыва worker
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"Version": "2012-10-17",
|
||||
"Statement": [
|
||||
{"Effect": "Allow", "Action": ["s3:GetBucketLocation"], "Resource": ["arn:aws:s3:::messenger-attachments"]},
|
||||
{"Effect": "Allow", "Action": ["s3:ListBucket"], "Resource": ["arn:aws:s3:::messenger-attachments"], "Condition": {"StringLike": {"s3:prefix": ["staging/*"]}}},
|
||||
{"Effect": "Allow", "Action": ["s3:DeleteObject"], "Resource": ["arn:aws:s3:::messenger-attachments/staging/*"]}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user