Class: Aws::EC2::Types::SlotDateTimeRangeRequest

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

Overview

Note:

When making an API call, you may pass SlotDateTimeRangeRequest data as a hash:

{
  earliest_time: Time.now, # required
  latest_time: Time.now, # required
}

Describes the time period for a Scheduled Instance to start its first schedule. The time period must span less than one day.

Instance Attribute Summary collapse

Instance Attribute Details

#earliest_timeTime

The earliest date and time, in UTC, for the Scheduled Instance to start.

Returns:

  • (Time)


33634
33635
33636
33637
33638
# File 'lib/aws-sdk-ec2/types.rb', line 33634

class SlotDateTimeRangeRequest < Struct.new(
  :earliest_time,
  :latest_time)
  include Aws::Structure
end

#latest_timeTime

The latest date and time, in UTC, for the Scheduled Instance to start. This value must be later than or equal to the earliest date and at most three months in the future.

Returns:

  • (Time)


33634
33635
33636
33637
33638
# File 'lib/aws-sdk-ec2/types.rb', line 33634

class SlotDateTimeRangeRequest < Struct.new(
  :earliest_time,
  :latest_time)
  include Aws::Structure
end