Class: Aws::EC2::Types::CapacityAllocation

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

Overview

Information about instance capacity usage for a Capacity Reservation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#allocation_typeString

The usage type. used indicates that the instance capacity is in use by instances that are running in the Capacity Reservation.

Returns:

  • (String)


4662
4663
4664
4665
4666
4667
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 4662

class CapacityAllocation < Struct.new(
  :allocation_type,
  :count)
  SENSITIVE = []
  include Aws::Structure
end

#countInteger

The amount of instance capacity associated with the usage. For example a value of 4 indicates that instance capacity for 4 instances is currently in use.

Returns:

  • (Integer)


4662
4663
4664
4665
4666
4667
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 4662

class CapacityAllocation < Struct.new(
  :allocation_type,
  :count)
  SENSITIVE = []
  include Aws::Structure
end