Files
mtusi2026lab7/infra/s3-policy.json

9 lines
404 B
JSON

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