You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::EC2::Types::ScheduledInstanceRecurrence
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::ScheduledInstanceRecurrence
- Defined in:
- (unknown)
Overview
Describes the recurring schedule for a Scheduled Instance.
Returned by:
Instance Attribute Summary collapse
-
#frequency ⇒ String
The frequency (
Daily
,Weekly
, orMonthly
). -
#interval ⇒ Integer
The interval quantity.
-
#occurrence_day_set ⇒ Array<Integer>
The days.
-
#occurrence_relative_to_end ⇒ Boolean
Indicates whether the occurrence is relative to the end of the specified week or month.
-
#occurrence_unit ⇒ String
The unit for
occurrenceDaySet
(DayOfWeek
orDayOfMonth
).
Instance Attribute Details
#frequency ⇒ String
The frequency (Daily
, Weekly
, or Monthly
).
#interval ⇒ Integer
The interval quantity. The interval unit depends on the value of
frequency
. For example, every 2 weeks or every 2 months.
#occurrence_day_set ⇒ Array<Integer>
The days. For a monthly schedule, this is one or more days of the month (1-31). For a weekly schedule, this is one or more days of the week (1-7, where 1 is Sunday).
#occurrence_relative_to_end ⇒ Boolean
Indicates whether the occurrence is relative to the end of the specified week or month.
#occurrence_unit ⇒ String
The unit for occurrenceDaySet
(DayOfWeek
or DayOfMonth
).