Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
Documentation
data CapacityAllocation Source #
Information about instance capacity usage for a Capacity Reservation.
See: newCapacityAllocation
smart constructor.
CapacityAllocation' | |
|
Instances
newCapacityAllocation :: CapacityAllocation Source #
Create a value of CapacityAllocation
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:allocationType:CapacityAllocation'
, capacityAllocation_allocationType
- The usage type. used
indicates that the instance capacity is in use by
instances that are running in the Capacity Reservation.
$sel:count:CapacityAllocation'
, capacityAllocation_count
- 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.
capacityAllocation_allocationType :: Lens' CapacityAllocation (Maybe AllocationType) Source #
The usage type. used
indicates that the instance capacity is in use by
instances that are running in the Capacity Reservation.
capacityAllocation_count :: Lens' CapacityAllocation (Maybe Int) Source #
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.