

# AICapacityReservationConfig
<a name="API_AICapacityReservationConfig"></a>

The capacity reservation configuration for an AI recommendation job.

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

 ** CapacityReservationPreference **   <a name="sagemaker-Type-AICapacityReservationConfig-CapacityReservationPreference"></a>
The capacity reservation preference. The only valid value is `capacity-reservations-only`.  
Type: String  
Valid Values: `capacity-reservations-only`   
Required: No

 ** MlReservationArns **   <a name="sagemaker-Type-AICapacityReservationConfig-MlReservationArns"></a>
The list of ML reservation ARNs to use.  
Type: Array of strings  
Length Constraints: Minimum length of 0. Maximum length of 256.  
Pattern: `arn:aws[a-z\-]*:sagemaker:[a-z0-9\-]*:[0-9]{12}:[a-z0-9\-]{1,14}/.*`   
Required: No

## See Also
<a name="API_AICapacityReservationConfig_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/AICapacityReservationConfig) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/sagemaker-2017-07-24/AICapacityReservationConfig) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/sagemaker-2017-07-24/AICapacityReservationConfig) 