AWSS3Encryption
Objective-C
@interface AWSS3Encryption
Swift
class AWSS3Encryption
Contains the type of server-side encryption used.
Required parameters: [EncryptionType]
-
The server-side encryption algorithm used when storing job results in Amazon S3 (for example, AES256, aws:kms).
Declaration
Objective-C
@property (nonatomic) AWSS3ServerSideEncryption encryptionType;
Swift
var encryptionType: AWSS3ServerSideEncryption { get set }
-
If the encryption type is
aws:kms
, this optional value can be used to specify the encryption context for the restore results.Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable KMSContext;
Swift
var kmsContext: String? { get set }
-
If the encryption type is
aws:kms
, this optional value specifies the ID of the symmetric customer managed AWS KMS CMK to use for encryption of job results. Amazon S3 only supports symmetric CMKs. For more information, see Using Symmetric and Asymmetric Keys in the AWS Key Management Service Developer Guide.Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable KMSKeyId;
Swift
var kmsKeyId: String? { get set }