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 number of instances that can be launched onto the Dedicated Host.

Constant Summary collapse

SENSITIVE =
[]

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)


54458
54459
54460
54461
54462
54463
54464
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 54458

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

#instance_type ⇒ String

The instance type supported by the Dedicated Host.

Returns:

  • (String)


54458
54459
54460
54461
54462
54463
54464
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 54458

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

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


54458
54459
54460
54461
54462
54463
54464
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 54458

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