AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Website Configuration
Namespace: Amazon.S3.Model
Assembly: AWSSDK.S3.dll
Version: 3.x.y.z
public class WebsiteConfiguration
The WebsiteConfiguration type exposes the following members
Name | Description | |
---|---|---|
![]() |
WebsiteConfiguration() |
Name | Type | Description | |
---|---|---|---|
![]() |
ErrorDocument | System.String |
The ErrorDocument value, an object key name to use when a 4XX class error occurs. |
![]() |
IndexDocumentSuffix | System.String |
This value is a suffix that is appended to a request that is for a "directory" on the website endpoint (e.g. if the suffix is index.html and you make a request to samplebucket/images/ the data that is returned will be for the object with the key name images/index.html) The suffix must not be empty and must not include a slash character. |
![]() |
RedirectAllRequestsTo | Amazon.S3.Model.RoutingRuleRedirect |
Container for redirect information where all requests will be redirect to. You can redirect requests to another host, to another page, or with another protocol. In the event of an error, you can can specify a different error code to return. . |
![]() |
RoutingRules | System.Collections.Generic.List<Amazon.S3.Model.RoutingRule> |
The list of routing rules that can be used for configuring redirects if certain conditions are meet. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5