This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::OpenSearchService::Domain EncryptionAtRestOptions
Whether the domain should encrypt data at rest, and if so, the AWS Key Management Service key to use.
Syntax
To declare this entity in your CloudFormation template, use the following syntax:
JSON
{ "Enabled" :Boolean, "EncryptionMode" :String, "KmsKeyId" :String}
YAML
Enabled:BooleanEncryptionMode:StringKmsKeyId:String
Properties
Enabled-
Specify
trueto 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.
Required: Conditional
Type: Boolean
Update requires: Some interruptions
EncryptionMode-
The type of encryption at rest applied to the domain's data. Valid values are
DISKandNATIVE.DISKis the default and uses volume-level encryption.NATIVEuses engine-native, index-level encryption and requires encryption at rest to be enabled and OpenSearch version 3.3 or later. After the mode is set toNATIVE, it can't be changed back toDISK.Required: No
Type: String
Allowed values:
DISK | NATIVEUpdate requires: No interruption
KmsKeyId-
The KMS key ID. Takes the form
1a2a3a4-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.
Required: Conditional
Type: String
Pattern:
.*Minimum:
1Maximum:
500Update requires: Some interruptions
See also
-
CreateDomain in the Amazon OpenSearch Service Developer Guide.