amazonka-opensearch-2.0: Amazon OpenSearch Service 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.OpenSearch.Types.EncryptionAtRestOptions

Description

 
Synopsis

Documentation

data EncryptionAtRestOptions Source #

Specifies whether the domain should encrypt data at rest, and if so, the Key Management Service (KMS) key to use. Can be used only to create a new domain, not update an existing one.

See: newEncryptionAtRestOptions smart constructor.

Constructors

EncryptionAtRestOptions' 

Fields

Instances

Instances details
FromJSON EncryptionAtRestOptions Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.EncryptionAtRestOptions

ToJSON EncryptionAtRestOptions Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.EncryptionAtRestOptions

Generic EncryptionAtRestOptions Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.EncryptionAtRestOptions

Associated Types

type Rep EncryptionAtRestOptions :: Type -> Type #

Read EncryptionAtRestOptions Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.EncryptionAtRestOptions

Show EncryptionAtRestOptions Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.EncryptionAtRestOptions

NFData EncryptionAtRestOptions Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.EncryptionAtRestOptions

Methods

rnf :: EncryptionAtRestOptions -> () #

Eq EncryptionAtRestOptions Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.EncryptionAtRestOptions

Hashable EncryptionAtRestOptions Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.EncryptionAtRestOptions

type Rep EncryptionAtRestOptions Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.EncryptionAtRestOptions

type Rep EncryptionAtRestOptions = D1 ('MetaData "EncryptionAtRestOptions" "Amazonka.OpenSearch.Types.EncryptionAtRestOptions" "amazonka-opensearch-2.0-GNoaWlqGXH04P8GBIHM78L" 'False) (C1 ('MetaCons "EncryptionAtRestOptions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newEncryptionAtRestOptions :: EncryptionAtRestOptions Source #

Create a value of EncryptionAtRestOptions 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:enabled:EncryptionAtRestOptions', encryptionAtRestOptions_enabled - True to enable encryption at rest.

$sel:kmsKeyId:EncryptionAtRestOptions', encryptionAtRestOptions_kmsKeyId - The KMS key ID. Takes the form 1a2a3a4-1a2a-3a4a-5a6a-1a2a3a4a5a6a.

encryptionAtRestOptions_kmsKeyId :: Lens' EncryptionAtRestOptions (Maybe Text) Source #

The KMS key ID. Takes the form 1a2a3a4-1a2a-3a4a-5a6a-1a2a3a4a5a6a.