libZSservicesZSamazonka-syntheticsZSamazonka-synthetics
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Synthetics.Types.S3EncryptionConfig

Description

 
Synopsis

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.

Constructors

S3EncryptionConfig' 

Fields

  • kmsKeyArn :: Maybe Text

    The ARN of the customer-managed KMS key to use, if you specify SSE-KMS for EncryptionMode

  • encryptionMode :: Maybe 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.

Instances

Instances details
Eq S3EncryptionConfig Source # 
Instance details

Defined in Amazonka.Synthetics.Types.S3EncryptionConfig

Read S3EncryptionConfig Source # 
Instance details

Defined in Amazonka.Synthetics.Types.S3EncryptionConfig

Show S3EncryptionConfig Source # 
Instance details

Defined in Amazonka.Synthetics.Types.S3EncryptionConfig

Generic S3EncryptionConfig Source # 
Instance details

Defined in Amazonka.Synthetics.Types.S3EncryptionConfig

Associated Types

type Rep S3EncryptionConfig :: Type -> Type #

NFData S3EncryptionConfig Source # 
Instance details

Defined in Amazonka.Synthetics.Types.S3EncryptionConfig

Methods

rnf :: S3EncryptionConfig -> () #

Hashable S3EncryptionConfig Source # 
Instance details

Defined in Amazonka.Synthetics.Types.S3EncryptionConfig

ToJSON S3EncryptionConfig Source # 
Instance details

Defined in Amazonka.Synthetics.Types.S3EncryptionConfig

FromJSON S3EncryptionConfig Source # 
Instance details

Defined in Amazonka.Synthetics.Types.S3EncryptionConfig

type Rep S3EncryptionConfig Source # 
Instance details

Defined in Amazonka.Synthetics.Types.S3EncryptionConfig

type Rep S3EncryptionConfig = D1 ('MetaData "S3EncryptionConfig" "Amazonka.Synthetics.Types.S3EncryptionConfig" "libZSservicesZSamazonka-syntheticsZSamazonka-synthetics" 'False) (C1 ('MetaCons "S3EncryptionConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "kmsKeyArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "encryptionMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EncryptionMode))))

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.