Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AwsS3BucketWebsiteConfigurationRoutingRuleRedirect

import type { AwsS3BucketWebsiteConfigurationRoutingRuleRedirect } from "https://aws-api.deno.dev/v0.4/services/securityhub.ts?docs=full";

The rules to redirect the request if the condition in Condition is met.

interface AwsS3BucketWebsiteConfigurationRoutingRuleRedirect {
Hostname?: string | null;
HttpRedirectCode?: string | null;
Protocol?: string | null;
ReplaceKeyPrefixWith?: string | null;
ReplaceKeyWith?: string | null;
}

§Properties

§
Hostname?: string | null
[src]

The host name to use in the redirect request.

§
HttpRedirectCode?: string | null
[src]

The HTTP redirect code to use in the response.

§
Protocol?: string | null
[src]

The protocol to use to redirect the request. By default, uses the protocol from the original request.

§
ReplaceKeyPrefixWith?: string | null
[src]

The object key prefix to use in the redirect request.

Cannot be provided if ReplaceKeyWith is present.

§
ReplaceKeyWith?: string | null
[src]

The specific object key to use in the redirect request.

Cannot be provided if ReplaceKeyPrefixWith is present.