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

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

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

Overview

Information about the instance type that the Dedicated Host supports.

Instance Attribute Summary collapse

Instance Attribute Details

#available_capacityInteger

The number of instances that can still be launched onto the Dedicated Host.

Returns:

  • (Integer)


17101
17102
17103
17104
17105
17106
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17101

class InstanceCapacity < Struct.new(
  :available_capacity,
  :instance_type,
  :total_capacity)
  include Aws::Structure
end

#instance_typeString

The instance type size supported by the Dedicated Host.

Returns:

  • (String)


17101
17102
17103
17104
17105
17106
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17101

class InstanceCapacity < Struct.new(
  :available_capacity,
  :instance_type,
  :total_capacity)
  include Aws::Structure
end

#total_capacityInteger

The total number of instances that can be launched onto the Dedicated Host.

Returns:

  • (Integer)


17101
17102
17103
17104
17105
17106
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17101

class InstanceCapacity < Struct.new(
  :available_capacity,
  :instance_type,
  :total_capacity)
  include Aws::Structure
end