EndpointConfigurationProductionVariantCapacityReservationConfig constructor

const EndpointConfigurationProductionVariantCapacityReservationConfig({
  1. Input<String>? capacityReservationPreference,
  2. Input<String>? mlReservationArn,
})

Creates a new EndpointConfigurationProductionVariantCapacityReservationConfig. capacityReservationPreference Capacity reservation preference. Valid value is capacity-reservations-only. When set to capacity-reservations-only, SageMaker AI launches instances only into an ML capacity reservation; if no capacity is available, the instances fail to launch. mlReservationArn The Amazon Resource Name (ARN) that uniquely identifies the ML capacity reservation that SageMaker AI applies when it deploys the endpoint.

Implementation

const EndpointConfigurationProductionVariantCapacityReservationConfig({
  this.capacityReservationPreference,
  this.mlReservationArn,
});