# CapacityReservationConfigProperty

Settings for the capacity reservation for the compute instances that SageMaker AI reserves for an endpoint.

- Source: Generated code
- Type last changed: v2.214.0 · 2 Sep 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const capacityReservationConfigProperty: sagemaker.CfnEndpointConfig.CapacityReservationConfigProperty = {
  capacityReservationPreference: 'capacityReservationPreference',
  mlReservationArn: 'mlReservationArn',
};
```

## Properties

- `capacityReservationPreference`: string — Options that you can choose for the capacity reservation.

- `mlReservationArn`: string — The Amazon Resource Name (ARN) that uniquely identifies the ML capacity reservation that SageMaker AI applies when it deploys the endpoint.
