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>
pull/23/head
Isaac-Carrascal 2023-12-03 16:43:23 +01:00 committed by GitHub
parent d6d4561c17
commit 3911afaf40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
# 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}}`