@Stability(value=Stable)
public static interface CfnDomain.EncryptionAtRestOptionsProperty
extends software.amazon.jsii.JsiiSerializable
The
AWS::Elasticsearch::Domainresource 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 Object |
getEnabled()
Specify `true` to enable encryption at rest.
|
default String |
getKmsKeyId()
The KMS key ID.
|
@Stability(value=Stable) @Nullable default Object getEnabled()
@Stability(value=Stable) @Nullable default String getKmsKeyId()
Takes the form 1a2a3a4-1a2a-3a4a-5a6a-1a2a3a4a5a6a . Required if you enable encryption at rest.
@Stability(value=Stable) static CfnDomain.EncryptionAtRestOptionsProperty.Builder builder()
Copyright © 2022. All rights reserved.