Class PutBucketEncryptionRequest
public class PutBucketEncryptionRequest : AmazonWebServiceRequest
- Inheritance
-
PutBucketEncryptionRequest
Constructors
PutBucketEncryptionRequest()
public PutBucketEncryptionRequest()
Properties
BucketName
Gets and sets the property BucketName.
Specifies default encryption for a bucket using server-side encryption with different key options. By default, all buckets have a default encryption configuration that uses server-side encryption with Amazon S3 managed keys (SSE-S3). You can optionally configure default encryption for a bucket by using server-side encryption with an Amazon Web Services KMS key (SSE-KMS) or a customer-provided key (SSE-C). For information about the bucket default encryption feature, see Amazon S3 Bucket Default Encryption in the Amazon S3 User Guide.
public string BucketName { get; set; }
Property Value
ChecksumAlgorithm
Gets and sets the property ChecksumAlgorithm.
Indicates the algorithm used to create the checksum for the object. Amazon S3 will fail the request with a 400 error if there is no checksum associated with the object. For more information, see Checking object integrity in the Amazon S3 User Guide.
public ChecksumAlgorithm ChecksumAlgorithm { get; set; }
Property Value
ContentMD5
Gets and sets the property ContentMD5.
The base64-encoded 128-bit MD5 digest of the server-side encryption configuration.
For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.
public string ContentMD5 { 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
ServerSideEncryptionConfiguration
Container for server-side encryption configuration rules. Currently S3 supports one rule only.
public ServerSideEncryptionConfiguration ServerSideEncryptionConfiguration { get; set; }