Cloudfront distribution access to private S3 bucket

0

I have a static website deployed on an S3 bucket (with Static Website Hosting enabled), and with all public access enabled, as described in the tutorials. I have created a cloudfront distro pointing to that website/bucket.

Is there a way to turn 'off' the public access to the S3 bucket so that the only access to the website is via the cloudfront distro?

Do I use

1 回答
2
profile pictureAWS
专家
已回答 1 年前
profile picture
专家
已审核 1 年前
profile pictureAWS
专家
已审核 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则