WebsiteConfiguration
import type { WebsiteConfiguration } from "https://aws-api.deno.dev/v0.4/services/s3.ts?docs=full";
Specifies website configuration parameters for an Amazon S3 bucket.
interface WebsiteConfiguration {
ErrorDocument?: ErrorDocument | null;
IndexDocument?: IndexDocument | null;
RedirectAllRequestsTo?: RedirectAllRequestsTo | null;
RoutingRules?: RoutingRule[] | null;
}§Properties
§
ErrorDocument?: ErrorDocument | null
[src]The name of the error document for the website.
§
IndexDocument?: IndexDocument | null
[src]The name of the index document for the website.
§
RedirectAllRequestsTo?: RedirectAllRequestsTo | null
[src]The redirect behavior for every request to this bucket's website endpoint.
! IMPORTANT: ! If you specify this property, you can't specify any other property.
§
RoutingRules?: RoutingRule[] | null
[src]Rules that define when a redirect is applied and the redirect behavior.