Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Class: Aws::EC2::Types::ScheduledInstanceRecurrence

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Describes the recurring schedule for a Scheduled Instance.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#frequencyString

The frequency (Daily, Weekly, or Monthly).

Returns:

  • (String)

67825
67826
67827
67828
67829
67830
67831
67832
67833
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67825

class ScheduledInstanceRecurrence < Struct.new(
  :frequency,
  :interval,
  :occurrence_day_set,
  :occurrence_relative_to_end,
  :occurrence_unit)
  SENSITIVE = []
  include Aws::Structure
end

#intervalInteger

The interval quantity. The interval unit depends on the value of frequency. For example, every 2 weeks or every 2 months.

Returns:

  • (Integer)

67825
67826
67827
67828
67829
67830
67831
67832
67833
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67825

class ScheduledInstanceRecurrence < Struct.new(
  :frequency,
  :interval,
  :occurrence_day_set,
  :occurrence_relative_to_end,
  :occurrence_unit)
  SENSITIVE = []
  include Aws::Structure
end

#occurrence_day_setArray<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).

Returns:

  • (Array<Integer>)

67825
67826
67827
67828
67829
67830
67831
67832
67833
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67825

class ScheduledInstanceRecurrence < Struct.new(
  :frequency,
  :interval,
  :occurrence_day_set,
  :occurrence_relative_to_end,
  :occurrence_unit)
  SENSITIVE = []
  include Aws::Structure
end

#occurrence_relative_to_endBoolean

Indicates whether the occurrence is relative to the end of the specified week or month.

Returns:

  • (Boolean)

67825
67826
67827
67828
67829
67830
67831
67832
67833
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67825

class ScheduledInstanceRecurrence < Struct.new(
  :frequency,
  :interval,
  :occurrence_day_set,
  :occurrence_relative_to_end,
  :occurrence_unit)
  SENSITIVE = []
  include Aws::Structure
end

#occurrence_unitString

The unit for occurrenceDaySet (DayOfWeek or DayOfMonth).

Returns:

  • (String)

67825
67826
67827
67828
67829
67830
67831
67832
67833
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67825

class ScheduledInstanceRecurrence < Struct.new(
  :frequency,
  :interval,
  :occurrence_day_set,
  :occurrence_relative_to_end,
  :occurrence_unit)
  SENSITIVE = []
  include Aws::Structure
end