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)


4328
4329
4330
4331
4332
4333
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 4328

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)


4328
4329
4330
4331
4332
4333
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 4328

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