Class: Aws::OpsWorks::Types::WeeklyAutoScalingSchedule
- Inherits:
-
Struct
- Object
- Struct
- Aws::OpsWorks::Types::WeeklyAutoScalingSchedule
- Defined in:
- gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb
Overview
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" \}
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#friday ⇒ Hash<String,String>
The schedule for Friday.
-
#monday ⇒ Hash<String,String>
The schedule for Monday.
-
#saturday ⇒ Hash<String,String>
The schedule for Saturday.
-
#sunday ⇒ Hash<String,String>
The schedule for Sunday.
-
#thursday ⇒ Hash<String,String>
The schedule for Thursday.
-
#tuesday ⇒ Hash<String,String>
The schedule for Tuesday.
-
#wednesday ⇒ Hash<String,String>
The schedule for Wednesday.
Instance Attribute Details
#friday ⇒ Hash<String,String>
The schedule for Friday.
6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 |
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 6334 class WeeklyAutoScalingSchedule < Struct.new( :monday, :tuesday, :wednesday, :thursday, :friday, :saturday, :sunday) SENSITIVE = [] include Aws::Structure end |
#monday ⇒ Hash<String,String>
The schedule for Monday.
6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 |
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 6334 class WeeklyAutoScalingSchedule < Struct.new( :monday, :tuesday, :wednesday, :thursday, :friday, :saturday, :sunday) SENSITIVE = [] include Aws::Structure end |
#saturday ⇒ Hash<String,String>
The schedule for Saturday.
6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 |
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 6334 class WeeklyAutoScalingSchedule < Struct.new( :monday, :tuesday, :wednesday, :thursday, :friday, :saturday, :sunday) SENSITIVE = [] include Aws::Structure end |
#sunday ⇒ Hash<String,String>
The schedule for Sunday.
6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 |
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 6334 class WeeklyAutoScalingSchedule < Struct.new( :monday, :tuesday, :wednesday, :thursday, :friday, :saturday, :sunday) SENSITIVE = [] include Aws::Structure end |
#thursday ⇒ Hash<String,String>
The schedule for Thursday.
6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 |
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 6334 class WeeklyAutoScalingSchedule < Struct.new( :monday, :tuesday, :wednesday, :thursday, :friday, :saturday, :sunday) SENSITIVE = [] include Aws::Structure end |
#tuesday ⇒ Hash<String,String>
The schedule for Tuesday.
6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 |
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 6334 class WeeklyAutoScalingSchedule < Struct.new( :monday, :tuesday, :wednesday, :thursday, :friday, :saturday, :sunday) SENSITIVE = [] include Aws::Structure end |
#wednesday ⇒ Hash<String,String>
The schedule for Wednesday.
6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 |
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 6334 class WeeklyAutoScalingSchedule < Struct.new( :monday, :tuesday, :wednesday, :thursday, :friday, :saturday, :sunday) SENSITIVE = [] include Aws::Structure end |