You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::OpsWorks::Types::WeeklyAutoScalingScheduleWhen passing WeeklyAutoScalingSchedule as input to an Aws::Client method, you can use a vanilla Hash:
{
monday: {
"Hour" => "Switch",
},
tuesday: {
"Hour" => "Switch",
},
wednesday: {
"Hour" => "Switch",
},
thursday: {
"Hour" => "Switch",
},
friday: {
"Hour" => "Switch",
},
saturday: {
"Hour" => "Switch",
},
sunday: {
"Hour" => "Switch",
},
}
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" }
Returned by:
The schedule for Friday.
The schedule for Monday.
The schedule for Saturday.
The schedule for Sunday.
The schedule for Thursday.
The schedule for Tuesday.
The schedule for Wednesday.
The schedule for Saturday.
#sunday ⇒ Hash<String,String> #thursday ⇒ Hash<String,String>The schedule for Thursday.
#tuesday ⇒ Hash<String,String>The schedule for Tuesday.
#wednesday ⇒ Hash<String,String>The schedule for Wednesday.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4