amazon s3 - S3 static hosting AccessDenied -
i have problem. created s3 bucket hosting. in properties settings, used static website hosting , index.html index document. in bucket policy use : { "version": "2012-10-17", "statement": [ { "sid": "publicreadforgetbucketobjects", "effect": "allow", "principal": "*", "action": "s3:getobject", "resource": "arn:aws:s3:::mybucket.com/*" } ] } when try open website browser url mybucket.com error accessdenied. when use mybucket.com/index.html works. what need change automatically uses index.html index file? thanks, syd