Class PutBucketWebsiteRequest
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
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
WebsiteConfiguration
The website configuration to apply. The configuration defines the index document suffix and custom error page.
public WebsiteConfiguration WebsiteConfiguration { get; set; }