public static interface CfnDomain.EncryptionAtRestOptionsProperty
The
AWS::Elasticsearch::Domain
resource is being replaced by the AWS::OpenSearchService::Domain resource. While the legacy Elasticsearch resource and options are still supported, we recommend modifying your existing Cloudformation templates to use the new OpenSearch Service resource, which supports both OpenSearch and Elasticsearch. For more information about the service rename, see New resource types in the Amazon OpenSearch Service Developer Guide .
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.elasticsearch.*; EncryptionAtRestOptionsProperty encryptionAtRestOptionsProperty = EncryptionAtRestOptionsProperty.builder() .enabled(false) .kmsKeyId("kmsKeyId") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnDomain.EncryptionAtRestOptionsProperty.Builder
A builder for
CfnDomain.EncryptionAtRestOptionsProperty |
static class |
CfnDomain.EncryptionAtRestOptionsProperty.Jsii$Proxy
An implementation for
CfnDomain.EncryptionAtRestOptionsProperty |
Modifier and Type | Method and Description |
---|---|
static CfnDomain.EncryptionAtRestOptionsProperty.Builder |
builder() |
default java.lang.Object |
getEnabled()
Specify `true` to enable encryption at rest.
|
default java.lang.String |
getKmsKeyId()
The KMS key ID.
|
default java.lang.Object getEnabled()
default java.lang.String getKmsKeyId()
Takes the form 1a2a3a4-1a2a-3a4a-5a6a-1a2a3a4a5a6a
.
static CfnDomain.EncryptionAtRestOptionsProperty.Builder builder()