This commit is contained in:
2026-10-16 22:47:54 +03:00
parent ec540a1a72
commit 16709c91b3
85 changed files with 19098 additions and 22 deletions
+10
View File
@@ -0,0 +1,10 @@
{
"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": ["originals/*"]}}},
{"Effect": "Allow", "Action": ["s3:GetObject", "s3:PutObject", "s3:DeleteObject"],
"Resource": ["arn:aws:s3:::messenger-attachments/originals/*"]}
]
}