I have an AWS root user which I used to create a S3 bucket on Amazon.
Now I want to make this bucket public by adding following policy:
{
"Version": "2012-10-17",
"Statement": [{
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::<my bucket name>/*"
}]
}
Where is my name of the bucket?
When I trying to save this policy I get a 403 access denied..
I tried explicitly setting the putbucketpolicy
permission but it still gives a 403.
Any body that knows why?
This is the image error: