Table of Contents

Class PutObjectLockConfigurationRequest

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

Container for the parameters to the PutObjectLockConfiguration operation. Places an Object Lock configuration on the specified bucket. The rule specified in the Object Lock configuration will be applied by default to every new object placed in the specified bucket.

public class PutObjectLockConfigurationRequest : AmazonWebServiceRequest
Inheritance
PutObjectLockConfigurationRequest

Constructors

PutObjectLockConfigurationRequest()

public PutObjectLockConfigurationRequest()

Properties

BucketName

Gets and sets the property BucketName.

The bucket whose Object Lock configuration you want to create or replace.

public string BucketName { get; set; }

Property Value

string

ContentMD5

Gets and sets the property ContentMD5.

The MD5 signature for the configuration included in your request.

public string ContentMD5 { 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

ObjectLockConfiguration

Gets and sets the property ObjectLockConfiguration.

The Object Lock configuration that you want to apply to the specified bucket.

public ObjectLockConfiguration ObjectLockConfiguration { get; set; }

Property Value

ObjectLockConfiguration

RequestPayer

Gets and sets the property RequestPayer.

public RequestPayer RequestPayer { get; set; }

Property Value

RequestPayer

Token

Gets and sets the property Token.

public string Token { get; set; }

Property Value

string