Class PutBucketEncryptionRequest
Container for the parameters to the PutBucketRequestPayment operation.
Creates a new server-side encryption configuration (or replaces an existing one, if present).
public class PutBucketEncryptionRequest : AmazonWebServiceRequest
- Inheritance
-
PutBucketEncryptionRequest
Constructors
PutBucketEncryptionRequest()
public PutBucketEncryptionRequest()
Properties
BucketName
The name of the bucket for which the server-side encryption configuration is set.
public string BucketName { get; set; }
Property Value
ContentMD5
The base64-encoded 128-bit MD5 digest of the server-side encryption configuration.
public string ContentMD5 { get; set; }
Property Value
Remarks
This header can be used as a message integrity check to verify that the data is the same data that was originally sent. Although it is optional, we recommend using the Content-MD5 mechanism as an end-to-end integrity check.
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; }