1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 23:42:07 +02:00
tldr/pages/common/aws-s3-website.md
Isaac-Carrascal 3911afaf40
aws-s3-website: add page (#11642)
* aws-s3-website: add page

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2023-12-03 21:13:23 +05:30

435 B

aws s3 website

Set the website configuration for a bucket. See also: aws s3. More information: https://docs.aws.amazon.com/cli/latest/reference/s3/website.html.

  • Configure a bucket as a static website:

aws s3 website {{s3://bucket-name}} --index-document {{index.html}}

  • Configure an error page for the website:

aws s3 website {{s3://bucket-name}} --index-document {{index.html}} --error-document {{error.html}}