AWSS3ServerSideEncryptionByDefault

Objective-C

@interface AWSS3ServerSideEncryptionByDefault

Swift

class AWSS3ServerSideEncryptionByDefault

Describes the default server-side encryption to apply to new objects in the bucket. If Put Object request does not specify any server-side encryption, this default encryption will be applied.

Required parameters: [SSEAlgorithm]

  • KMS master key ID to use for the default encryption. This parameter is allowed if SSEAlgorithm is aws:kms.

    Declaration

    Objective-C

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

    Swift

    var kmsMasterKeyID: String? { get set }
  • Server-side encryption algorithm to use for the default encryption.

    Declaration

    Objective-C

    @property (nonatomic) AWSS3ServerSideEncryption SSEAlgorithm;

    Swift

    var sseAlgorithm: AWSS3ServerSideEncryption { get set }