# InferenceComponentDeploymentConfigProperty

The deployment configuration for an endpoint that hosts inference components.

The configuration includes the desired deployment strategy and rollback settings.

- Source: Generated code
- Type last changed: v2.185.0 · 19 Mar 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 inferenceComponentDeploymentConfigProperty: sagemaker.CfnInferenceComponent.InferenceComponentDeploymentConfigProperty = {
  autoRollbackConfiguration: {
    alarms: [{
      alarmName: 'alarmName',
    }],
  },
  rollingUpdatePolicy: {
    maximumBatchSize: {
      type: 'type',
      value: 123,
    },
    maximumExecutionTimeoutInSeconds: 123,
    rollbackMaximumBatchSize: {
      type: 'type',
      value: 123,
    },
    waitIntervalInSeconds: 123,
  },
};
```

## Properties

- `autoRollbackConfiguration`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnInferenceComponent.AutoRollbackConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnInferenceComponent.AutoRollbackConfigurationProperty.html)

- `rollingUpdatePolicy`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnInferenceComponent.InferenceComponentRollingUpdatePolicyProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnInferenceComponent.InferenceComponentRollingUpdatePolicyProperty.html) — Specifies a rolling deployment strategy for updating a SageMaker AI endpoint.
