Home > @hapoosjs/api-buckets > BucketWebsiteConfiguration

BucketWebsiteConfiguration class

Website configuration when a bucket is used to store Web pages for a site

Signature:

export declare class BucketWebsiteConfiguration extends BaseResponse 

Extends: BaseResponse

Constructors

Constructor Modifiers Description
(constructor)(rawResponse) Creates a new BucketWebsiteConfiguration instance

Properties

Property Modifiers Type Description
errorPage? string (Optional) Error page to be shown when requested page is not found
indexPage? string (Optional) Index page, e.g index.html
redirectHostName? string (Optional) Redirect URL if this bucket redirects requests to another bucket or Website
redirectProtocol? string (Optional) Redirect protocol, typically https