Files
mtusi2026lab7/infra/s3-worker-policy.json
T

6 lines
405 B
JSON

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