Enable file public url access on AMAZON S3
Write in bucket policy
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AddPerm",
"Effect": "Allow",
"Principal": "*",
"Action": [
"s3:GetObject"
],
"Resource": [
"arn:aws:s3:::my_bucket_name/*"
]
}
]
}
22 марта 2022, 16:01