Interface CfnDomain.EncryptionAtRestOptionsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDomain.EncryptionAtRestOptionsProperty.Jsii$Proxy
- Enclosing class:
CfnDomain
@Stability(Stable)
public static interface CfnDomain.EncryptionAtRestOptionsProperty
extends software.amazon.jsii.JsiiSerializable
Whether the domain should encrypt data at rest, and if so, the AWS Key Management Service key to use.
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.opensearchservice.*;
EncryptionAtRestOptionsProperty encryptionAtRestOptionsProperty = EncryptionAtRestOptionsProperty.builder()
.enabled(false)
.kmsKeyId("kmsKeyId")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDomain.EncryptionAtRestOptionsPropertystatic final classAn implementation forCfnDomain.EncryptionAtRestOptionsProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEnabled
Specifytrueto enable encryption at rest. Required if you enable fine-grained access control in AdvancedSecurityOptionsInput .If no encryption at rest options were initially specified in the template, updating this property by adding it causes no interruption. However, if you change this property after it's already been set within a template, the domain is deleted and recreated in order to modify the property.
Returns union: either
BooleanorIResolvable- See Also:
-
getKmsKeyId
The KMS key ID. Takes the form1a2a3a4-1a2a-3a4a-5a6a-1a2a3a4a5a6a. Required if you enable encryption at rest.You can also use
keyAliasas a value.If no encryption at rest options were initially specified in the template, updating this property by adding it causes no interruption. However, if you change this property after it's already been set within a template, the domain is deleted and recreated in order to modify the property.
- See Also:
-
builder
-