AWSS3PutBucketEncryptionRequest

Objective-C

@interface AWSS3PutBucketEncryptionRequest

Swift

class AWSS3PutBucketEncryptionRequest
  • Specifies default encryption for a bucket using server-side encryption with Amazon S3-managed keys (SSE-S3) or customer master keys stored in AWS KMS (SSE-KMS). For information about the Amazon S3 default encryption feature, see Amazon S3 Default Bucket Encryption in the Amazon Simple Storage Service Developer Guide.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable bucket;

    Swift

    var bucket: String? { get set }
  • The base64-encoded 128-bit MD5 digest of the server-side encryption configuration. This parameter is auto-populated when using the command from the CLI.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable contentMD5;

    Swift

    var contentMD5: String? { get set }
  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable expectedBucketOwner;

    Swift

    var expectedBucketOwner: String? { get set }
  • Specifies the default server-side-encryption configuration.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSS3ServerSideEncryptionConfiguration *_Nullable serverSideEncryptionConfiguration;

    Swift

    var serverSideEncryptionConfiguration: AWSS3ServerSideEncryptionConfiguration? { get set }