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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


4349
4350
4351
4352
4353
4354
# File 'lib/aws-sdk-ec2/types.rb', line 4349

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)


4349
4350
4351
4352
4353
4354
# File 'lib/aws-sdk-ec2/types.rb', line 4349

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