

# CapacityReservationConfiguration
<a name="API_CapacityReservationConfiguration"></a>

Describes the configuration of a Capacity Reservation.

## Contents
<a name="API_CapacityReservationConfiguration_Contents"></a>

 ** instanceCount **   
The number of instances in the Capacity Reservation.  
Type: Integer  
Required: No

 ** reservationState **   
The current state of the Capacity Reservation.  
Type: String  
Required: No

## See Also
<a name="API_CapacityReservationConfiguration_SeeAlso"></a>

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\+\+](https://docs.amazonaws.cn/goto/SdkForCpp/ec2-2016-11-15/CapacityReservationConfiguration) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/ec2-2016-11-15/CapacityReservationConfiguration) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/ec2-2016-11-15/CapacityReservationConfiguration) 