Class: Aws::ElasticsearchService::Types::AutoTuneOptions

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-elasticsearchservice/lib/aws-sdk-elasticsearchservice/types.rb

Overview

Note:

When making an API call, you may pass AutoTuneOptions data as a hash:

{
  desired_state: "ENABLED", # accepts ENABLED, DISABLED
  rollback_on_disable: "NO_ROLLBACK", # accepts NO_ROLLBACK, DEFAULT_ROLLBACK
  maintenance_schedules: [
    {
      start_at: Time.now,
      duration: {
        value: 1,
        unit: "HOURS", # accepts HOURS
      },
      cron_expression_for_recurrence: "String",
    },
  ],
}

Specifies the Auto-Tune options: the Auto-Tune desired state for the domain, rollback state when disabling Auto-Tune options and list of maintenance schedules.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#desired_stateString

Specifies the Auto-Tune desired state. Valid values are ENABLED, DISABLED.

Returns:

  • (String)


436
437
438
439
440
441
442
# File 'gems/aws-sdk-elasticsearchservice/lib/aws-sdk-elasticsearchservice/types.rb', line 436

class AutoTuneOptions < Struct.new(
  :desired_state,
  :rollback_on_disable,
  :maintenance_schedules)
  SENSITIVE = []
  include Aws::Structure
end

#maintenance_schedulesArray<Types::AutoTuneMaintenanceSchedule>

Specifies list of maitenance schedules. See the Developer Guide for more information.



436
437
438
439
440
441
442
# File 'gems/aws-sdk-elasticsearchservice/lib/aws-sdk-elasticsearchservice/types.rb', line 436

class AutoTuneOptions < Struct.new(
  :desired_state,
  :rollback_on_disable,
  :maintenance_schedules)
  SENSITIVE = []
  include Aws::Structure
end

#rollback_on_disableString

Specifies the rollback state while disabling Auto-Tune for the domain. Valid values are NO_ROLLBACK, DEFAULT_ROLLBACK.

Returns:

  • (String)


436
437
438
439
440
441
442
# File 'gems/aws-sdk-elasticsearchservice/lib/aws-sdk-elasticsearchservice/types.rb', line 436

class AutoTuneOptions < Struct.new(
  :desired_state,
  :rollback_on_disable,
  :maintenance_schedules)
  SENSITIVE = []
  include Aws::Structure
end