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 |
Synopsis
- data DefaultServerSideEncryption = DefaultServerSideEncryption' {}
- newDefaultServerSideEncryption :: DefaultServerSideEncryption
- defaultServerSideEncryption_encryptionType :: Lens' DefaultServerSideEncryption (Maybe Text)
- defaultServerSideEncryption_kmsMasterKeyArn :: Lens' DefaultServerSideEncryption (Maybe Text)
Documentation
data DefaultServerSideEncryption Source #
Contains information on the server side encryption method used in the S3 bucket. See S3 Server-Side Encryption for more information.
See: newDefaultServerSideEncryption
smart constructor.
DefaultServerSideEncryption' | |
|
Instances
newDefaultServerSideEncryption :: DefaultServerSideEncryption Source #
Create a value of DefaultServerSideEncryption
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:DefaultServerSideEncryption'
, defaultServerSideEncryption_encryptionType
- The type of encryption used for objects within the S3 bucket.
$sel:kmsMasterKeyArn:DefaultServerSideEncryption'
, defaultServerSideEncryption_kmsMasterKeyArn
- The Amazon Resource Name (ARN) of the KMS encryption key. Only available
if the bucket EncryptionType
is aws:kms
.
defaultServerSideEncryption_encryptionType :: Lens' DefaultServerSideEncryption (Maybe Text) Source #
The type of encryption used for objects within the S3 bucket.
defaultServerSideEncryption_kmsMasterKeyArn :: Lens' DefaultServerSideEncryption (Maybe Text) Source #
The Amazon Resource Name (ARN) of the KMS encryption key. Only available
if the bucket EncryptionType
is aws:kms
.