# CapacityAllocationProperty

Information about instance capacity usage for a Capacity Reservation.

- Source: Generated code
- Type last changed: v2.186.0 · 27 Mar 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const capacityAllocationProperty: ec2.CfnCapacityReservation.CapacityAllocationProperty = {
  allocationType: 'allocationType',
  count: 123,
};
```

## Properties

- `allocationType`: string — The usage type.

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

- `count`: number — 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.
