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

Class: Aws::EC2::Types::ScheduledInstance

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

Overview

Describes a Scheduled Instance.

Instance Attribute Summary collapse

Instance Attribute Details

#availability_zone ⇒ String

The Availability Zone.

Returns:

  • (String) —

    The Availability Zone.

#create_date ⇒ Time

The date when the Scheduled Instance was purchased.

Returns:

  • (Time) —

    The date when the Scheduled Instance was purchased.

#hourly_price ⇒ String

The hourly price for a single instance.

Returns:

  • (String) —

    The hourly price for a single instance.

#instance_count ⇒ Integer

The number of instances.

Returns:

  • (Integer) —

    The number of instances.

#instance_type ⇒ String

The instance type.

Returns:

  • (String) —

    The instance type.

#network_platform ⇒ String

The network platform (EC2-Classic or EC2-VPC).

Returns:

  • (String) —

    The network platform (EC2-Classic or EC2-VPC).

#next_slot_start_time ⇒ Time

The time for the next schedule to start.

Returns:

  • (Time) —

    The time for the next schedule to start.

#platform ⇒ String

The platform (Linux/UNIX or Windows).

Returns:

  • (String) —

    The platform (Linux/UNIX or Windows).

#previous_slot_end_time ⇒ Time

The time that the previous schedule ended or will end.

Returns:

  • (Time) —

    The time that the previous schedule ended or will end.

#recurrence ⇒ Types::ScheduledInstanceRecurrence

The schedule recurrence.

Returns:

#scheduled_instance_id ⇒ String

The Scheduled Instance ID.

Returns:

  • (String) —

    The Scheduled Instance ID.

#slot_duration_in_hours ⇒ Integer

The number of hours in the schedule.

Returns:

  • (Integer) —

    The number of hours in the schedule.

#term_end_date ⇒ Time

The end date for the Scheduled Instance.

Returns:

  • (Time) —

    The end date for the Scheduled Instance.

#term_start_date ⇒ Time

The start date for the Scheduled Instance.

Returns:

  • (Time) —

    The start date for the Scheduled Instance.

#total_scheduled_instance_hours ⇒ Integer

The total number of hours for a single instance for the entire term.

Returns:

  • (Integer) —

    The total number of hours for a single instance for the entire term.