Class: Aws::OpenSearchService::Types::AutoTuneMaintenanceSchedule

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

Overview

Note:

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

{
  start_at: Time.now,
  duration: {
    value: 1,
    unit: "HOURS", # accepts HOURS
  },
  cron_expression_for_recurrence: "String",
}

Specifies the Auto-Tune maintenance schedule. See Auto-Tune for Amazon OpenSearch Service for more information.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cron_expression_for_recurrenceString

A cron expression for a recurring maintenance schedule. See Auto-Tune for Amazon OpenSearch Service for more information.

Returns:

  • (String)


445
446
447
448
449
450
451
# File 'gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/types.rb', line 445

class AutoTuneMaintenanceSchedule < Struct.new(
  :start_at,
  :duration,
  :cron_expression_for_recurrence)
  SENSITIVE = []
  include Aws::Structure
end

#durationTypes::Duration

Specifies maintenance schedule duration: duration value and duration unit. See Auto-Tune for Amazon OpenSearch Service for more information.

Returns:



445
446
447
448
449
450
451
# File 'gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/types.rb', line 445

class AutoTuneMaintenanceSchedule < Struct.new(
  :start_at,
  :duration,
  :cron_expression_for_recurrence)
  SENSITIVE = []
  include Aws::Structure
end

#start_atTime

The timestamp at which the Auto-Tune maintenance schedule starts.

Returns:

  • (Time)


445
446
447
448
449
450
451
# File 'gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/types.rb', line 445

class AutoTuneMaintenanceSchedule < Struct.new(
  :start_at,
  :duration,
  :cron_expression_for_recurrence)
  SENSITIVE = []
  include Aws::Structure
end