Skip to main content
Version: 0.0.25

Table: bucket_website

Table to manage AWS S3 website.

A bucket website can be used to host a static website (e.g. React app) using just the S3 bucket and no additional servers

Example

INSERT INTO bucket_website (bucket_name, index_document, error_document) VALUES ('mybucket', 'index.html', 'index.html');

See

https://docs.aws.amazon.com/AmazonS3/latest/userguide/WebsiteHosting.html

Columns

bucket: bucket

Reference for the bucket

bucket_name: string

Name of the bucket

Optional error_document: string

This is returned when an error occurs.

index_document: string

Specify the home or default page of the website.