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 ServerSideEncryption Source #
Provides information about the server-side encryption settings for an S3 bucket or S3 object.
See: newServerSideEncryption
smart constructor.
ServerSideEncryption' | |
|
Instances
newServerSideEncryption :: ServerSideEncryption Source #
Create a value of ServerSideEncryption
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:encryptionType:ServerSideEncryption'
, serverSideEncryption_encryptionType
- The server-side encryption algorithm that's used when storing data in
the bucket or object. If default encryption is disabled for the bucket
or the object isn't encrypted using server-side encryption, this value
is NONE.
$sel:kmsMasterKeyId:ServerSideEncryption'
, serverSideEncryption_kmsMasterKeyId
- The Amazon Resource Name (ARN) or unique identifier (key ID) for the KMS
key that's used to encrypt data in the bucket or the object. This value
is null if an KMS key isn't used to encrypt the data.
serverSideEncryption_encryptionType :: Lens' ServerSideEncryption (Maybe EncryptionType) Source #
The server-side encryption algorithm that's used when storing data in the bucket or object. If default encryption is disabled for the bucket or the object isn't encrypted using server-side encryption, this value is NONE.
serverSideEncryption_kmsMasterKeyId :: Lens' ServerSideEncryption (Maybe Text) Source #
The Amazon Resource Name (ARN) or unique identifier (key ID) for the KMS key that's used to encrypt data in the bucket or the object. This value is null if an KMS key isn't used to encrypt the data.