Class: AWSCDK::OpenSearchService::CfnDomain::SnapshotOptionsProperty

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

Overview

DEPRECATED .

This setting is only relevant to domains running legacy Elasticsearch OSS versions earlier than 5.3. It does not apply to OpenSearch domains.

The automated snapshot configuration for the OpenSearch Service domain indexes.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(automated_snapshot_start_hour: nil) ⇒ SnapshotOptionsProperty

Returns a new instance of SnapshotOptionsProperty.

Parameters:

  • automated_snapshot_start_hour (Numeric, nil) (defaults to: nil)

    The hour in UTC during which the service takes an automated daily snapshot of the indexes in the OpenSearch Service domain.



2504
2505
2506
2507
# File 'open_search_service/cfn_domain.rb', line 2504

def initialize(automated_snapshot_start_hour: nil)
  @automated_snapshot_start_hour = automated_snapshot_start_hour
  Jsii::Type.check_type(@automated_snapshot_start_hour, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "automatedSnapshotStartHour") unless @automated_snapshot_start_hour.nil?
end

Instance Attribute Details

#automated_snapshot_start_hourNumeric? (readonly)

The hour in UTC during which the service takes an automated daily snapshot of the indexes in the OpenSearch Service domain.

For example, if you specify 0, OpenSearch Service takes an automated snapshot everyday between midnight and 1 am. You can specify a value between 0 and 23.



2515
2516
2517
# File 'open_search_service/cfn_domain.rb', line 2515

def automated_snapshot_start_hour
  @automated_snapshot_start_hour
end

Class Method Details

.jsii_propertiesObject



2517
2518
2519
2520
2521
# File 'open_search_service/cfn_domain.rb', line 2517

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

Instance Method Details

#to_jsiiObject



2523
2524
2525
2526
2527
2528
2529
# File 'open_search_service/cfn_domain.rb', line 2523

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