Class: AWSCDK::OpenSearchService::CfnDomain::ColdStorageOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::OpenSearchService::CfnDomain::ColdStorageOptionsProperty
- Defined in:
- open_search_service/cfn_domain.rb
Overview
Container for the parameters required to enable cold storage for an OpenSearch Service domain.
For more information, see Cold storage for Amazon OpenSearch Service .
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean, ...
readonly
Whether to enable or disable cold storage on the domain.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(enabled: nil) ⇒ ColdStorageOptionsProperty
constructor
A new instance of ColdStorageOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(enabled: nil) ⇒ ColdStorageOptionsProperty
Returns a new instance of ColdStorageOptionsProperty.
1396 1397 1398 1399 |
# File 'open_search_service/cfn_domain.rb', line 1396 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)
Whether to enable or disable cold storage on the domain.
You must enable UltraWarm storage to enable cold storage.
1407 1408 1409 |
# File 'open_search_service/cfn_domain.rb', line 1407 def enabled @enabled end |
Class Method Details
.jsii_properties ⇒ Object
1409 1410 1411 1412 1413 |
# File 'open_search_service/cfn_domain.rb', line 1409 def self.jsii_properties { :enabled => "enabled", } end |
Instance Method Details
#to_jsii ⇒ Object
1415 1416 1417 1418 1419 1420 1421 |
# File 'open_search_service/cfn_domain.rb', line 1415 def to_jsii result = {} result.merge!({ "enabled" => @enabled, }) result.compact end |