TIL what's AWS S3 bucket policy to allow public read access to all objects in bucket looks like; TIL double click on brace/bracket in Xcode jumps to opposite one and selects block
TIL what’s AWS S3 bucket policy to allow public read access to all objects in bucket looks like:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": "*",
"Action": [
"s3:GetObject"
],
"Resource": "arn:aws:s3:::YOUR_BUCKET_NAME/*"
}
]
}