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

Class: Aws::EC2::Types::InstanceCapacity

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

Overview

Information about the number of instances that can be launched onto the Dedicated Host.

Instance Attribute Summary collapse

Instance Attribute Details

#available_capacity ⇒ Integer

The number of instances that can be launched onto the Dedicated Host based on the host\'s available capacity.

Returns:

  • (Integer) —

    The number of instances that can be launched onto the Dedicated Host based on the host\'s available capacity.

#instance_type ⇒ String

The instance type supported by the Dedicated Host.

Returns:

  • (String) —

    The instance type supported by the Dedicated Host.

#total_capacity ⇒ Integer

The total number of instances that can be launched onto the Dedicated Host if there are no instances running on it.

Returns:

  • (Integer) —

    The total number of instances that can be launched onto the Dedicated Host if there are no instances running on it.