| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.OpenSearch.Types.EncryptionAtRestOptions
Description
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' | |
Instances
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_enabled :: Lens' EncryptionAtRestOptions (Maybe Bool) Source #
True to enable encryption at rest.
encryptionAtRestOptions_kmsKeyId :: Lens' EncryptionAtRestOptions (Maybe Text) Source #
The KMS key ID. Takes the form 1a2a3a4-1a2a-3a4a-5a6a-1a2a3a4a5a6a.