Class: Aws::EC2::Types::CapacityAllocation
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::CapacityAllocation
- 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
-
#allocation_metadata ⇒ Array<Types::CapacityAllocationMetadataEntry>
Additional metadata associated with the capacity allocation.
-
#allocation_type ⇒ String
The usage type.
-
#count ⇒ Integer
The amount of instance capacity associated with the usage.
Instance Attribute Details
#allocation_metadata ⇒ Array<Types::CapacityAllocationMetadataEntry>
Additional metadata associated with the capacity allocation. Each entry contains a key-value pair providing context about the allocation.
5007 5008 5009 5010 5011 5012 5013 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 5007 class CapacityAllocation < Struct.new( :allocation_type, :count, :allocation_metadata) SENSITIVE = [] include Aws::Structure end |
#allocation_type ⇒ String
The usage type. used indicates that the instance capacity is in
use by instances that are running in the Capacity Reservation.
5007 5008 5009 5010 5011 5012 5013 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 5007 class CapacityAllocation < Struct.new( :allocation_type, :count, :allocation_metadata) SENSITIVE = [] include Aws::Structure end |
#count ⇒ Integer
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.
5007 5008 5009 5010 5011 5012 5013 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 5007 class CapacityAllocation < Struct.new( :allocation_type, :count, :allocation_metadata) SENSITIVE = [] include Aws::Structure end |