Class: AWSCDK::OpenSearchService::CfnDomain::NodeToNodeEncryptionOptionsProperty

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

Overview

Specifies options for node-to-node encryption.

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 to enable or disable node-to-node encryption on the domain.



2111
2112
2113
2114
# File 'open_search_service/cfn_domain.rb', line 2111

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 to enable or disable node-to-node encryption on the domain.

Required if you enable fine-grained access control in AdvancedSecurityOptionsInput .



2122
2123
2124
# File 'open_search_service/cfn_domain.rb', line 2122

def enabled
  @enabled
end

Class Method Details

.jsii_propertiesObject



2124
2125
2126
2127
2128
# File 'open_search_service/cfn_domain.rb', line 2124

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

Instance Method Details

#to_jsiiObject



2130
2131
2132
2133
2134
2135
2136
# File 'open_search_service/cfn_domain.rb', line 2130

def to_jsii
  result = {}
  result.merge!({
    "enabled" => @enabled,
  })
  result.compact
end