You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing SlotDateTimeRangeRequest as input to an Aws::Client method, you can use a vanilla 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.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#earliest_timeTime

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

Returns:

  • (Time)

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

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

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