Class: Aws::EC2::Types::AvailableCapacity

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

Overview

The capacity information for instances that can be launched onto the Dedicated Host.

Instance Attribute Summary collapse

Instance Attribute Details

#available_instance_capacityArray<Types::InstanceCapacity>

The number of instances that can be launched onto the Dedicated Host depending on the host's available capacity. For Dedicated Hosts that support multiple instance types, this parameter represents the number of instances for each instance size that is supported on the host.

Returns:



2127
2128
2129
2130
2131
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2127

class AvailableCapacity < Struct.new(
  :available_instance_capacity,
  :available_v_cpus)
  include Aws::Structure
end

#available_v_cpusInteger

The number of vCPUs available for launching instances onto the Dedicated Host.

Returns:

  • (Integer)


2127
2128
2129
2130
2131
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2127

class AvailableCapacity < Struct.new(
  :available_instance_capacity,
  :available_v_cpus)
  include Aws::Structure
end