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 réponse
2
profile pictureAWS
EXPERT
répondu il y a un an
profile picture
EXPERT
vérifié il y a un an
profile pictureAWS
EXPERT
vérifié il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions