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

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