Class CfnDomain.EncryptionAtRestOptionsProperty
Whether the domain should encrypt data at rest, and if so, the AWS Key Management Service key to use.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Elasticsearch
Assembly: Amazon.CDK.AWS.Elasticsearch.dll
Syntax (csharp)
public class EncryptionAtRestOptionsProperty : Object, CfnDomain.IEncryptionAtRestOptionsProperty
Syntax (vb)
Public Class EncryptionAtRestOptionsProperty
Inherits Object
Implements CfnDomain.IEncryptionAtRestOptionsProperty
Remarks
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 .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Elasticsearch;
var encryptionAtRestOptionsProperty = new EncryptionAtRestOptionsProperty {
Enabled = false,
KmsKeyId = "kmsKeyId"
};
Synopsis
Constructors
EncryptionAtRestOptionsProperty() |
Properties
Enabled | Specify |
KmsKeyId | The KMS key ID. |
Constructors
EncryptionAtRestOptionsProperty()
public EncryptionAtRestOptionsProperty()
Properties
Enabled
Specify true
to enable encryption at rest.
public object Enabled { get; set; }
Property Value
System.Object
Remarks
KmsKeyId
The KMS key ID.
public string KmsKeyId { get; set; }
Property Value
System.String
Remarks
Takes the form 1a2a3a4-1a2a-3a4a-5a6a-1a2a3a4a5a6a
. Required if you enable encryption at rest.