# DeploymentConfigProperty

The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.

- 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 deploymentConfigProperty: sagemaker.CfnCluster.DeploymentConfigProperty = {
  autoRollbackConfiguration: [{
    alarmName: 'alarmName',
  }],
  rollingUpdatePolicy: {
    maximumBatchSize: {
      type: 'type',
      value: 123,
    },

    // the properties below are optional
    rollbackMaximumBatchSize: {
      type: 'type',
      value: 123,
    },
  },
  waitIntervalInSeconds: 123,
};
```

## Properties

- `autoRollbackConfiguration`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnCluster.AlarmDetailsProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnCluster.AlarmDetailsProperty.html)[] — Automatic rollback configuration for handling endpoint deployment failures and recovery.

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

- `waitIntervalInSeconds`: number — The duration in seconds that SageMaker waits before updating more instances in the cluster.
