Table of Contents

Class PutBucketWebsiteRequest

Namespace
Amazon.S3.Model
Assembly
AWSSDK.S3.dll

Container for the parameters to the PutBucketWebsite operation.

Set the website configuration for a bucket.

public class PutBucketWebsiteRequest : AmazonWebServiceRequest
Inheritance
PutBucketWebsiteRequest

Constructors

PutBucketWebsiteRequest()

public PutBucketWebsiteRequest()

Properties

BucketName

The name of the bucket to apply the configuration to.

public string BucketName { get; set; }

Property Value

string

ChecksumAlgorithm

Gets and sets the property ChecksumAlgorithm.

Indicates the algorithm used to create the checksum for the object. Amazon S3 will fail the request with a 400 error if there is no checksum associated with the object. For more information, see Checking object integrity in the Amazon S3 User Guide.

public ChecksumAlgorithm ChecksumAlgorithm { get; set; }

Property Value

ChecksumAlgorithm

ExpectedBucketOwner

The account ID of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

public string ExpectedBucketOwner { get; set; }

Property Value

string

WebsiteConfiguration

The website configuration to apply. The configuration defines the index document suffix and custom error page.

public WebsiteConfiguration WebsiteConfiguration { get; set; }

Property Value

WebsiteConfiguration