NAME

Paws::OpsWorks::WeeklyAutoScalingSchedule

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::OpsWorks::WeeklyAutoScalingSchedule object:

$service_obj->Method(Att1 => { Friday => $value, ..., Wednesday => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::OpsWorks::WeeklyAutoScalingSchedule object:

$result = $service_obj->Method(...);
$result->Att1->Friday

DESCRIPTION

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

  • The key is the time period (a UTC hour) and must be an integer from 0 - 23.

  • The value indicates whether the instance should be online or offline for the specified period, and must be set to "on" or "off"

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" }

ATTRIBUTES

Friday => Paws::OpsWorks::DailyAutoScalingSchedule

The schedule for Friday.

Monday => Paws::OpsWorks::DailyAutoScalingSchedule

The schedule for Monday.

Saturday => Paws::OpsWorks::DailyAutoScalingSchedule

The schedule for Saturday.

Sunday => Paws::OpsWorks::DailyAutoScalingSchedule

The schedule for Sunday.

Thursday => Paws::OpsWorks::DailyAutoScalingSchedule

The schedule for Thursday.

Tuesday => Paws::OpsWorks::DailyAutoScalingSchedule

The schedule for Tuesday.

Wednesday => Paws::OpsWorks::DailyAutoScalingSchedule

The schedule for Wednesday.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::OpsWorks

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues