{ "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/*"]} ] }