Table of Contents

Class PutBucketLoggingRequest

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

Container for the parameters to the PutBucketLoggingRequest operation.

Set the logging parameters for a bucket and to specify permissions for who can view and modify the logging parameters. To set the logging status of a bucket, you must be the bucket owner.

public class PutBucketLoggingRequest : AmazonWebServiceRequest
Inheritance
PutBucketLoggingRequest

Constructors

PutBucketLoggingRequest()

public PutBucketLoggingRequest()

Properties

BucketName

Gets and sets the BucketName property.

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

LoggingConfig

Gets and sets the LoggingConfig property.

public S3BucketLoggingConfig LoggingConfig { get; set; }

Property Value

S3BucketLoggingConfig