Files
mtusi2026lab7/infra/s3/policy-api.json
T
makkelay 1d146756d7
Skeleton contracts / contracts (pull_request) Canceled after 0s
[+] add project
2026-12-05 22:05:31 +03:00

16 lines
388 B
JSON

{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": ["s3:ListBucket"],
"Resource": ["arn:aws:s3:::messenger-attachments"]
},
{
"Effect": "Allow",
"Action": ["s3:GetObject", "s3:PutObject"],
"Resource": ["arn:aws:s3:::messenger-attachments/staging/*", "arn:aws:s3:::messenger-attachments/attachments/*"]
}
]
}