Allow public access on specific folder AWS S3
https://aws.amazon.com/vi/premiumsupport/knowledge-center/read-access-objects-s3-bucket/
Policy:
{
"Version": "2008-10-17",
"Statement": [
{
"Sid": "AllowPublicRead",
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::BUCKETNAME/*/128/*"
}
]
}
Đúng như mong đợi!