Class: AWSCDK::OpenSearchService::CfnDomain::NodeConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::OpenSearchService::CfnDomain::NodeConfigProperty
- Defined in:
- open_search_service/cfn_domain.rb
Overview
Configuration options for defining the setup of any node type within the cluster.
Instance Attribute Summary collapse
-
#count ⇒ Numeric?
readonly
The number of nodes of a specific type within the cluster.
-
#enabled ⇒ Boolean, ...
readonly
A boolean value indicating whether a specific node type is active or inactive.
-
#type ⇒ String?
readonly
The instance type of a particular node within the cluster.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(count: nil, enabled: nil, type: nil) ⇒ NodeConfigProperty
constructor
A new instance of NodeConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(count: nil, enabled: nil, type: nil) ⇒ NodeConfigProperty
Returns a new instance of NodeConfigProperty.
2017 2018 2019 2020 2021 2022 2023 2024 |
# File 'open_search_service/cfn_domain.rb', line 2017 def initialize(count: nil, enabled: nil, type: nil) @count = count Jsii::Type.check_type(@count, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "count") unless @count.nil? @enabled = enabled Jsii::Type.check_type(@enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "enabled") unless @enabled.nil? @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") unless @type.nil? end |
Instance Attribute Details
#count ⇒ Numeric? (readonly)
The number of nodes of a specific type within the cluster.
2030 2031 2032 |
# File 'open_search_service/cfn_domain.rb', line 2030 def count @count end |
#enabled ⇒ Boolean, ... (readonly)
A boolean value indicating whether a specific node type is active or inactive.
2035 2036 2037 |
# File 'open_search_service/cfn_domain.rb', line 2035 def enabled @enabled end |
#type ⇒ String? (readonly)
The instance type of a particular node within the cluster.
2040 2041 2042 |
# File 'open_search_service/cfn_domain.rb', line 2040 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
2042 2043 2044 2045 2046 2047 2048 |
# File 'open_search_service/cfn_domain.rb', line 2042 def self.jsii_properties { :count => "count", :enabled => "enabled", :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
2050 2051 2052 2053 2054 2055 2056 2057 2058 |
# File 'open_search_service/cfn_domain.rb', line 2050 def to_jsii result = {} result.merge!({ "count" => @count, "enabled" => @enabled, "type" => @type, }) result.compact end |