Class: AWSCDK::OpenSearchService::CfnDomain::SoftwareUpdateOptionsProperty

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

Overview

Options for configuring service software updates for a domain.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(auto_software_update_enabled: nil) ⇒ SoftwareUpdateOptionsProperty

Returns a new instance of SoftwareUpdateOptionsProperty.

Parameters:

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

    Specifies whether automatic service software updates are enabled for the domain.



2539
2540
2541
2542
# File 'open_search_service/cfn_domain.rb', line 2539

def initialize(auto_software_update_enabled: nil)
  @auto_software_update_enabled = auto_software_update_enabled
  Jsii::Type.check_type(@auto_software_update_enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "autoSoftwareUpdateEnabled") unless @auto_software_update_enabled.nil?
end

Instance Attribute Details

#auto_software_update_enabledBoolean, ... (readonly)

Specifies whether automatic service software updates are enabled for the domain.



2548
2549
2550
# File 'open_search_service/cfn_domain.rb', line 2548

def auto_software_update_enabled
  @auto_software_update_enabled
end

Class Method Details

.jsii_propertiesObject



2550
2551
2552
2553
2554
# File 'open_search_service/cfn_domain.rb', line 2550

def self.jsii_properties
  {
    :auto_software_update_enabled => "autoSoftwareUpdateEnabled",
  }
end

Instance Method Details

#to_jsiiObject



2556
2557
2558
2559
2560
2561
2562
# File 'open_search_service/cfn_domain.rb', line 2556

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