amazonka-dlm-2.0: Amazon Data Lifecycle Manager SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.DLM.Types.EncryptionConfiguration

Description

 
Synopsis

Documentation

data EncryptionConfiguration Source #

[Event-based policies only] Specifies the encryption settings for cross-Region snapshot copies created by event-based policies.

See: newEncryptionConfiguration smart constructor.

Constructors

EncryptionConfiguration' 

Fields

  • cmkArn :: Maybe Text

    The Amazon Resource Name (ARN) of the KMS key to use for EBS encryption. If this parameter is not specified, the default KMS key for the account is used.

  • encrypted :: Bool

    To encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable encryption using this parameter. Copies of encrypted snapshots are encrypted, even if this parameter is false or when encryption by default is not enabled.

Instances

Instances details
FromJSON EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.DLM.Types.EncryptionConfiguration

ToJSON EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.DLM.Types.EncryptionConfiguration

Generic EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.DLM.Types.EncryptionConfiguration

Associated Types

type Rep EncryptionConfiguration :: Type -> Type #

Read EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.DLM.Types.EncryptionConfiguration

Show EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.DLM.Types.EncryptionConfiguration

NFData EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.DLM.Types.EncryptionConfiguration

Methods

rnf :: EncryptionConfiguration -> () #

Eq EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.DLM.Types.EncryptionConfiguration

Hashable EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.DLM.Types.EncryptionConfiguration

type Rep EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.DLM.Types.EncryptionConfiguration

type Rep EncryptionConfiguration = D1 ('MetaData "EncryptionConfiguration" "Amazonka.DLM.Types.EncryptionConfiguration" "amazonka-dlm-2.0-KlPkRzsIoa0q62N0Ereji" 'False) (C1 ('MetaCons "EncryptionConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cmkArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "encrypted") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))

newEncryptionConfiguration Source #

Create a value of EncryptionConfiguration 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:cmkArn:EncryptionConfiguration', encryptionConfiguration_cmkArn - The Amazon Resource Name (ARN) of the KMS key to use for EBS encryption. If this parameter is not specified, the default KMS key for the account is used.

$sel:encrypted:EncryptionConfiguration', encryptionConfiguration_encrypted - To encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable encryption using this parameter. Copies of encrypted snapshots are encrypted, even if this parameter is false or when encryption by default is not enabled.

encryptionConfiguration_cmkArn :: Lens' EncryptionConfiguration (Maybe Text) Source #

The Amazon Resource Name (ARN) of the KMS key to use for EBS encryption. If this parameter is not specified, the default KMS key for the account is used.

encryptionConfiguration_encrypted :: Lens' EncryptionConfiguration Bool Source #

To encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable encryption using this parameter. Copies of encrypted snapshots are encrypted, even if this parameter is false or when encryption by default is not enabled.