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 S3EncryptionConfig Source #
A structure that contains the configuration of encryption-at-rest settings for canary artifacts that the canary uploads to Amazon S3.
For more information, see Encrypting canary artifacts
See: newS3EncryptionConfig
smart constructor.
S3EncryptionConfig' | |
|
Instances
newS3EncryptionConfig :: S3EncryptionConfig Source #
Create a value of S3EncryptionConfig
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:kmsKeyArn:S3EncryptionConfig'
, s3EncryptionConfig_kmsKeyArn
- The ARN of the customer-managed KMS key to use, if you specify SSE-KMS
for EncryptionMode
$sel:encryptionMode:S3EncryptionConfig'
, s3EncryptionConfig_encryptionMode
- The encryption method to use for artifacts created by this canary.
Specify SSE_S3
to use server-side encryption (SSE) with an Amazon
S3-managed key. Specify SSE-KMS
to use server-side encryption with a
customer-managed KMS key.
If you omit this parameter, an Amazon Web Services-managed KMS key is used.
s3EncryptionConfig_kmsKeyArn :: Lens' S3EncryptionConfig (Maybe Text) Source #
The ARN of the customer-managed KMS key to use, if you specify SSE-KMS
for EncryptionMode
s3EncryptionConfig_encryptionMode :: Lens' S3EncryptionConfig (Maybe EncryptionMode) Source #
The encryption method to use for artifacts created by this canary.
Specify SSE_S3
to use server-side encryption (SSE) with an Amazon
S3-managed key. Specify SSE-KMS
to use server-side encryption with a
customer-managed KMS key.
If you omit this parameter, an Amazon Web Services-managed KMS key is used.