CapacityAllocationProperty Struct
Information about instance capacity usage for a Capacity Reservation.
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
allocationTypeoptionalstringallocation_typeoptionalstrallocationTypeoptionalStringAllocationTypeoptionalstringAllocationTypeoptional*string#The usage type.
used indicates that the instance capacity is in use by instances that are running in the Capacity Reservation.
countoptionalnumbercountoptionalint | floatcountoptionalNumberCountoptionaldoubleCountoptional*float64#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.