Class: AWSCDK::Elasticsearch::CfnDomain::NodeToNodeEncryptionOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Elasticsearch::CfnDomain::NodeToNodeEncryptionOptionsProperty
- Defined in:
- elasticsearch/cfn_domain.rb
Overview
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 .
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean, ...
readonly
Specifies whether node-to-node encryption is enabled, as a Boolean.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(enabled: nil) ⇒ NodeToNodeEncryptionOptionsProperty
constructor
A new instance of NodeToNodeEncryptionOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(enabled: nil) ⇒ NodeToNodeEncryptionOptionsProperty
Returns a new instance of NodeToNodeEncryptionOptionsProperty.
1405 1406 1407 1408 |
# File 'elasticsearch/cfn_domain.rb', line 1405 def initialize(enabled: nil) @enabled = enabled Jsii::Type.check_type(@enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "enabled") unless @enabled.nil? end |
Instance Attribute Details
#enabled ⇒ Boolean, ... (readonly)
Specifies whether node-to-node encryption is enabled, as a Boolean.
1414 1415 1416 |
# File 'elasticsearch/cfn_domain.rb', line 1414 def enabled @enabled end |
Class Method Details
.jsii_properties ⇒ Object
1416 1417 1418 1419 1420 |
# File 'elasticsearch/cfn_domain.rb', line 1416 def self.jsii_properties { :enabled => "enabled", } end |
Instance Method Details
#to_jsii ⇒ Object
1422 1423 1424 1425 1426 1427 1428 |
# File 'elasticsearch/cfn_domain.rb', line 1422 def to_jsii result = {} result.merge!({ "enabled" => @enabled, }) result.compact end |