Class PutBucketLoggingRequest
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
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
LoggingConfig
Gets and sets the LoggingConfig property.
public S3BucketLoggingConfig LoggingConfig { get; set; }