commands.sh

aws s3 website

all

Set the website configuration for a bucket. See also: `aws s3`.

More info →

Examples (2)

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
made by @shridhargupta | data from tldr-pages