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

Class: Aws::EC2::Types::InstanceCount

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

Overview

Describes a Reserved Instance listing state.

Instance Attribute Summary collapse

Instance Attribute Details

#instance_count ⇒ Integer

The number of listed Reserved Instances in the state specified by the state.

Returns:

  • (Integer) —

    The number of listed Reserved Instances in the state specified by the state.

#state ⇒ String

The states of the listed Reserved Instances.

Possible values:

  • available
  • sold
  • cancelled
  • pending

Returns:

  • (String) —

    The states of the listed Reserved Instances.