

# CapacityReservation
<a name="API_CapacityReservation"></a>

Information about the Capacity Reservation used by an instance or instance group.

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

 ** Arn **   <a name="sagemaker-Type-CapacityReservation-Arn"></a>
The Amazon Resource Name (ARN) of the Capacity Reservation.  
Type: String  
Required: No

 ** Type **   <a name="sagemaker-Type-CapacityReservation-Type"></a>
The type of Capacity Reservation. Valid values are `ODCR` (On-Demand Capacity Reservation) or `CRG` (Capacity Reservation Group).  
Type: String  
Valid Values: `ODCR | CRG`   
Required: No

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

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/sagemaker-2017-07-24/CapacityReservation) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/sagemaker-2017-07-24/CapacityReservation) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/sagemaker-2017-07-24/CapacityReservation) 