Class: AWSCDK::Elasticsearch::CfnDomain::NodeToNodeEncryptionOptionsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
elasticsearch/cfn_domain.rb

Overview

Specifies whether node-to-node encryption is enabled.

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 .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(enabled: nil) ⇒ NodeToNodeEncryptionOptionsProperty

Returns a new instance of NodeToNodeEncryptionOptionsProperty.

Parameters:

  • enabled (Boolean, AWSCDK::IResolvable, nil) (defaults to: nil)

    Specifies whether node-to-node encryption is enabled, as a Boolean.



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

#enabledBoolean, ... (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_propertiesObject



1416
1417
1418
1419
1420
# File 'elasticsearch/cfn_domain.rb', line 1416

def self.jsii_properties
  {
    :enabled => "enabled",
  }
end

Instance Method Details

#to_jsiiObject



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