Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
data Encryption Source #
Contains the type of server-side encryption used.
See: newEncryption
smart constructor.
Encryption' | |
|
Instances
Create a value of Encryption
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:kmsKeyId:Encryption'
, encryption_kmsKeyId
- If the encryption type is aws:kms
, this optional value specifies the
ID of the symmetric customer managed key to use for encryption of job
results. Amazon S3 only supports symmetric keys. For more information,
see
Using symmetric and asymmetric keys
in the Amazon Web Services Key Management Service Developer Guide.
$sel:kmsContext:Encryption'
, encryption_kmsContext
- If the encryption type is aws:kms
, this optional value can be used to
specify the encryption context for the restore results.
$sel:encryptionType:Encryption'
, encryption_encryptionType
- The server-side encryption algorithm used when storing job results in
Amazon S3 (for example, AES256, aws:kms).
encryption_kmsKeyId :: Lens' Encryption (Maybe Text) Source #
If the encryption type is aws:kms
, this optional value specifies the
ID of the symmetric customer managed key to use for encryption of job
results. Amazon S3 only supports symmetric keys. For more information,
see
Using symmetric and asymmetric keys
in the Amazon Web Services Key Management Service Developer Guide.
encryption_kmsContext :: Lens' Encryption (Maybe Text) Source #
If the encryption type is aws:kms
, this optional value can be used to
specify the encryption context for the restore results.
encryption_encryptionType :: Lens' Encryption ServerSideEncryption Source #
The server-side encryption algorithm used when storing job results in Amazon S3 (for example, AES256, aws:kms).