class Aws::ElasticsearchService::Types::Duration

Specifies maintenance schedule duration: duration value and duration unit. See the [Developer Guide] for more information.

[1]: docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html

@note When making an API call, you may pass Duration

data as a hash:

    {
      value: 1,
      unit: "HOURS", # accepts HOURS
    }

@!attribute [rw] value

Integer to specify the value of a maintenance schedule duration. See
the [Developer Guide][1] for more information.

[1]: https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html
@return [Integer]

@!attribute [rw] unit

Specifies the unit of a maintenance schedule duration. Valid value
is HOURS. See the [Developer Guide][1] for more information.

[1]: https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html
@return [String]

Constants

SENSITIVE