class Aws::OpenSearchService::Types::AutoTuneOptions

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

@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",
        },
      ],
    }

@!attribute [rw] desired_state

The Auto-Tune desired state. Valid values are ENABLED and DISABLED.
@return [String]

@!attribute [rw] rollback_on_disable

The rollback state while disabling Auto-Tune for the domain. Valid
values are NO\_ROLLBACK and DEFAULT\_ROLLBACK.
@return [String]

@!attribute [rw] maintenance_schedules

A list of maintenance schedules. See [ Auto-Tune for Amazon
OpenSearch Service ][1] for more information.

[1]: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/auto-tune.html
@return [Array<Types::AutoTuneMaintenanceSchedule>]

@see docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/AutoTuneOptions AWS API Documentation

Constants

SENSITIVE