AWS SDK for .NET Documentation
WebsiteConfiguration Class
AmazonAmazon.S3.ModelWebsiteConfiguration Did this page help you?   Yes   No    Tell us about it...
Defines the website configuration for a S3 bucket.
Declaration Syntax
C#
public class WebsiteConfiguration
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
WebsiteConfiguration()()()()
Initializes a new instance of the WebsiteConfiguration class

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
ErrorDocument
The ErrorDocument value, an object key name to use when a 4XX class error occurs.

GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
IndexDocumentSuffix

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
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
The list of routing rules that can be used for configuring redirects if certain conditions are meet.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithErrorDocument(String) Obsolete.
The ErrorDocument value, an object key name to use when a 4XX class error occurs.

WithIndexDocumentSuffix(String) Obsolete.

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.


WithRedirectAllRequestsTo(RoutingRuleRedirect) Obsolete.
The RedirectAllRequestsTo value, This is the 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. .

Inheritance Hierarchy
Object
WebsiteConfiguration

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)