{
"Version": "2008-10-17",
"Statement": [
{
"Sid": "AllowPublicRead",
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::{bucket-name}/*"
}
]
}
Sometimes we have to make an Amazon S3 bucket permission public, we want to store images over there which would be accessed from different places. In this process, you can easily make an Amazon S3 bucket public.
At first, create an S3 bucket and then add a bucket policy that makes this public.
Here is one video available on YouTube which tells how to make a bucket public.