Class: Aws::EC2::Types::ScheduledInstanceRecurrenceRequest
- Inherits:
 - 
      Struct
      
        
- Object
 - Struct
 - Aws::EC2::Types::ScheduledInstanceRecurrenceRequest
 
 
- 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
- 
  
    
      #frequency  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The frequency (
Daily,Weekly, orMonthly). - 
  
    
      #interval  ⇒ Integer 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The interval quantity.
 - 
  
    
      #occurrence_days  ⇒ 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
OccurrenceDays(DayOfWeekorDayOfMonth). 
Instance Attribute Details
#frequency ⇒ String
The frequency (Daily, Weekly, or Monthly).
      71772 71773 71774 71775 71776 71777 71778 71779 71780  | 
    
      # File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 71772 class ScheduledInstanceRecurrenceRequest < Struct.new( :frequency, :interval, :occurrence_days, :occurrence_relative_to_end, :occurrence_unit) SENSITIVE = [] include Aws::Structure end  | 
  
#interval ⇒ Integer
The interval quantity. The interval unit depends on the value of
Frequency. For example, every 2 weeks or every 2 months.
      71772 71773 71774 71775 71776 71777 71778 71779 71780  | 
    
      # File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 71772 class ScheduledInstanceRecurrenceRequest < Struct.new( :frequency, :interval, :occurrence_days, :occurrence_relative_to_end, :occurrence_unit) SENSITIVE = [] include Aws::Structure end  | 
  
#occurrence_days ⇒ 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). You can't specify this value with a daily schedule. If the occurrence is relative to the end of the month, you can specify only a single day.
      71772 71773 71774 71775 71776 71777 71778 71779 71780  | 
    
      # File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 71772 class ScheduledInstanceRecurrenceRequest < Struct.new( :frequency, :interval, :occurrence_days, :occurrence_relative_to_end, :occurrence_unit) SENSITIVE = [] include Aws::Structure end  | 
  
#occurrence_relative_to_end ⇒ Boolean
Indicates whether the occurrence is relative to the end of the specified week or month. You can't specify this value with a daily schedule.
      71772 71773 71774 71775 71776 71777 71778 71779 71780  | 
    
      # File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 71772 class ScheduledInstanceRecurrenceRequest < Struct.new( :frequency, :interval, :occurrence_days, :occurrence_relative_to_end, :occurrence_unit) SENSITIVE = [] include Aws::Structure end  | 
  
#occurrence_unit ⇒ String
The unit for OccurrenceDays (DayOfWeek or DayOfMonth). This
value is required for a monthly schedule. You can't specify
DayOfWeek with a weekly schedule. You can't specify this value
with a daily schedule.
      71772 71773 71774 71775 71776 71777 71778 71779 71780  | 
    
      # File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 71772 class ScheduledInstanceRecurrenceRequest < Struct.new( :frequency, :interval, :occurrence_days, :occurrence_relative_to_end, :occurrence_unit) SENSITIVE = [] include Aws::Structure end  |