Class: AWSCDK::OpenSearchService::CfnDomain::ColdStorageOptionsProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(enabled: nil) ⇒ ColdStorageOptionsProperty

Returns a new instance of ColdStorageOptionsProperty.

Parameters:

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

    Whether to enable or disable cold storage on the domain.



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

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



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_jsiiObject



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