Interface EncryptionAtRestOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
EncryptionAtRestOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-25T14:21:15.381Z")
@Stability(Deprecated)
@Deprecated
public interface EncryptionAtRestOptions
extends software.amazon.jsii.JsiiSerializable
Deprecated.
use opensearchservice module instead
(deprecated) Whether the domain should encrypt data at rest, and if so, the AWS Key Management Service (KMS) key to use.
Can only be used to create a new domain, not update an existing one. Requires Elasticsearch version 5.1 or later.
Example:
Domain domain = Domain.Builder.create(this, "Domain") .version(ElasticsearchVersion.V7_1) .enforceHttps(true) .nodeToNodeEncryption(true) .encryptionAtRest(EncryptionAtRestOptions.builder() .enabled(true) .build()) .fineGrainedAccessControl(AdvancedSecurityOptions.builder() .masterUserName("master-user") .build()) .build(); SecretValue masterUserPassword = domain.getMasterUserPassword();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
Deprecated.static final class
Deprecated. -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEnabled
Deprecated.use opensearchservice module instead(deprecated) Specify true to enable encryption at rest.Default: - encryption at rest is disabled.
-
getKmsKey
Deprecated.use opensearchservice module instead(deprecated) Supply if using KMS key for encryption at rest.Default: - uses default aws/es KMS key.
-
builder
Deprecated.- Returns:
- a
EncryptionAtRestOptions.Builder
ofEncryptionAtRestOptions
-