NodeToNodeEncryptionOptionsProperty Struct
Specifies whether node-to-node encryption is enabled.
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
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_elasticsearch as elasticsearch } from 'aws-cdk-lib';
const nodeToNodeEncryptionOptionsProperty: elasticsearch.CfnDomain.NodeToNodeEncryptionOptionsProperty = {
enabled: false,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_elasticsearch as elasticsearch
node_to_node_encryption_options_property = elasticsearch.CfnDomain.NodeToNodeEncryptionOptionsProperty(
enabled=False
)
java
// 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.*;
NodeToNodeEncryptionOptionsProperty nodeToNodeEncryptionOptionsProperty = NodeToNodeEncryptionOptionsProperty.builder()
.enabled(false)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 nodeToNodeEncryptionOptionsProperty = new NodeToNodeEncryptionOptionsProperty {
Enabled = false
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
nodeToNodeEncryptionOptionsProperty := &NodeToNodeEncryptionOptionsProperty{
Enabled: jsii.Boolean(false),
}
Properties
enabledoptionalboolean | IResolvableenabledoptionaltyping.Union[bool, IResolvable]enabledoptionalBooleanEnabledoptionalboolEnabledoptionalinterface{}#Specifies whether node-to-node encryption is enabled, as a Boolean.