For me I had to upload a simple React website to S3.
As barbolo describes you need a certificate to access site through SSL.
If the static site that you want to deploy is simple enough you can:
- Upload to S3.
- Do not select "Static Website Hosting"
- Convert all relative links (to css, js, etc) to absolute links.
e.g. from /css/media.css you should convert it to https://s3-region-amazonaws.com/bucket-name/css/media.css (for me I had to change only links in index.html)
- Make only the contents of bucket public.
Thats it. You can access the index file through https.
A Simple site is a site with a main index.html file that points to some css and js pages.