

This is the new *CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::SageMaker::EndpointConfig CapacityReservationConfig
<a name="aws-properties-sagemaker-endpointconfig-capacityreservationconfig"></a>

<a name="aws-properties-sagemaker-endpointconfig-capacityreservationconfig-description"></a>The `CapacityReservationConfig` property type specifies Property description not available. for an [AWS::SageMaker::EndpointConfig](aws-resource-sagemaker-endpointconfig.md).

## Syntax
<a name="aws-properties-sagemaker-endpointconfig-capacityreservationconfig-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-sagemaker-endpointconfig-capacityreservationconfig-syntax.json"></a>

```
{
  "[CapacityReservationPreference](#cfn-sagemaker-endpointconfig-capacityreservationconfig-capacityreservationpreference)" : {{String}},
  "[MlReservationArn](#cfn-sagemaker-endpointconfig-capacityreservationconfig-mlreservationarn)" : {{String}}
}
```

### YAML
<a name="aws-properties-sagemaker-endpointconfig-capacityreservationconfig-syntax.yaml"></a>

```
  [CapacityReservationPreference](#cfn-sagemaker-endpointconfig-capacityreservationconfig-capacityreservationpreference): {{String}}
  [MlReservationArn](#cfn-sagemaker-endpointconfig-capacityreservationconfig-mlreservationarn): {{String}}
```

## Properties
<a name="aws-properties-sagemaker-endpointconfig-capacityreservationconfig-properties"></a>

`CapacityReservationPreference`  <a name="cfn-sagemaker-endpointconfig-capacityreservationconfig-capacityreservationpreference"></a>
Property description not available.  
*Required*: No  
*Type*: String  
*Pattern*: `capacity-reservations-only`  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`MlReservationArn`  <a name="cfn-sagemaker-endpointconfig-capacityreservationconfig-mlreservationarn"></a>
Property description not available.  
*Required*: No  
*Type*: String  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)