class Aws::OpsWorks::Types::WeeklyAutoScalingSchedule

Describes a time-based instance's auto scaling schedule. The schedule consists of a set of key-value pairs.

The default setting for all time periods is off, so you use the following parameters primarily to specify the online periods. You don't have to explicitly specify offline periods unless you want to change an online period to an offline period.

The following example specifies that the instance should be online for four hours, from UTC 1200 - 1600. It will be off for the remainder of the day.

` { “12”:“on”, “13”:“on”, “14”:“on”, “15”:“on” } `

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

data as a hash:

    {
      monday: {
        "Hour" => "Switch",
      },
      tuesday: {
        "Hour" => "Switch",
      },
      wednesday: {
        "Hour" => "Switch",
      },
      thursday: {
        "Hour" => "Switch",
      },
      friday: {
        "Hour" => "Switch",
      },
      saturday: {
        "Hour" => "Switch",
      },
      sunday: {
        "Hour" => "Switch",
      },
    }

@!attribute [rw] monday

The schedule for Monday.
@return [Hash<String,String>]

@!attribute [rw] tuesday

The schedule for Tuesday.
@return [Hash<String,String>]

@!attribute [rw] wednesday

The schedule for Wednesday.
@return [Hash<String,String>]

@!attribute [rw] thursday

The schedule for Thursday.
@return [Hash<String,String>]

@!attribute [rw] friday

The schedule for Friday.
@return [Hash<String,String>]

@!attribute [rw] saturday

The schedule for Saturday.
@return [Hash<String,String>]

@!attribute [rw] sunday

The schedule for Sunday.
@return [Hash<String,String>]

@see docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/WeeklyAutoScalingSchedule AWS API Documentation

Constants

SENSITIVE