WebsiteConfiguration Class

.NET Framework 4.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...
Website Configuration

Inheritance Hierarchy

System.Object
  Amazon.S3.Model.WebsiteConfiguration

Namespace: Amazon.S3.Model
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public class WebsiteConfiguration : Object

The WebsiteConfiguration type exposes the following members

Constructors

  Name Description
Public Method WebsiteConfiguration()

Properties

  Name Description
Public Property ErrorDocument The ErrorDocument value, an object key name to use when a 4XX class error occurs.
Public Property 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.

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

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8

.NET for Windows Phone:
Supported in: Window Phone 8