Class: AWSCDK::OpenSearchService::CfnDomain::OffPeakWindowProperty

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

Overview

A custom 10-hour, low-traffic window during which OpenSearch Service can perform mandatory configuration changes on the domain.

These actions can include scheduled service software updates and blue/green Auto-Tune enhancements. OpenSearch Service will schedule these actions during the window that you specify. If you don't specify a window start time, it defaults to 10:00 P.M. local time.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(window_start_time: nil) ⇒ OffPeakWindowProperty

Returns a new instance of OffPeakWindowProperty.

Parameters:



2191
2192
2193
2194
# File 'open_search_service/cfn_domain.rb', line 2191

def initialize(window_start_time: nil)
  @window_start_time = window_start_time.is_a?(Hash) ? ::AWSCDK::OpenSearchService::CfnDomain::WindowStartTimeProperty.new(**window_start_time.transform_keys(&:to_sym)) : window_start_time
  Jsii::Type.check_type(@window_start_time, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19vcGVuc2VhcmNoc2VydmljZS5DZm5Eb21haW4uV2luZG93U3RhcnRUaW1lUHJvcGVydHkifV19fQ==")), "windowStartTime") unless @window_start_time.nil?
end

Instance Attribute Details

#window_start_timeAWSCDK::IResolvable, ... (readonly)

The desired start time for an off-peak maintenance window.



2200
2201
2202
# File 'open_search_service/cfn_domain.rb', line 2200

def window_start_time
  @window_start_time
end

Class Method Details

.jsii_propertiesObject



2202
2203
2204
2205
2206
# File 'open_search_service/cfn_domain.rb', line 2202

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

Instance Method Details

#to_jsiiObject



2208
2209
2210
2211
2212
2213
2214
# File 'open_search_service/cfn_domain.rb', line 2208

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