Class BucketWebsiteArgs
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.S3.Inputs
Assembly: Pulumi.Aws.dll
Syntax
public sealed class BucketWebsiteArgs : ResourceArgs
Constructors
View SourceBucketWebsiteArgs()
Declaration
public BucketWebsiteArgs()
Properties
View SourceErrorDocument
An absolute path to the document to return in case of a 4XX error.
Declaration
public Input<string> ErrorDocument { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
IndexDocument
Amazon S3 returns this index document when requests are made to the root domain or any of the subfolders.
Declaration
public Input<string> IndexDocument { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
RedirectAllRequestsTo
A hostname to redirect all website requests for this bucket to. Hostname can optionally be prefixed with a protocol (http:// or https://) to use when redirecting requests. The default is the protocol that is used in the original request.
Declaration
public Input<string> RedirectAllRequestsTo { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
RoutingRules
A json array containing routing rules describing redirect behavior and when redirects are applied.
Declaration
public InputUnion<string, ImmutableArray<string>> RoutingRules { get; set; }
Property Value
| Type | Description |
|---|---|
| InputUnion<System.String, System.Collections.Immutable.ImmutableArray<System.String>> |