interface DeploymentConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Sagemaker.CfnCluster.DeploymentConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnCluster_DeploymentConfigProperty |
Java | software.amazon.awscdk.services.sagemaker.CfnCluster.DeploymentConfigProperty |
Python | aws_cdk.aws_sagemaker.CfnCluster.DeploymentConfigProperty |
TypeScript | aws-cdk-lib » aws_sagemaker » CfnCluster » DeploymentConfigProperty |
The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.
Example
// 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
| Name | Type | Description |
|---|---|---|
| auto | IResolvable | (IResolvable | Alarm)[] | Automatic rollback configuration for handling endpoint deployment failures and recovery. |
| rolling | IResolvable | Rolling | Specifies a rolling deployment strategy for updating a SageMaker endpoint. |
| wait | number | The duration in seconds that SageMaker waits before updating more instances in the cluster. |
autoRollbackConfiguration?
Type:
IResolvable | (IResolvable | Alarm)[]
(optional)
Automatic rollback configuration for handling endpoint deployment failures and recovery.
rollingUpdatePolicy?
Type:
IResolvable | Rolling
(optional)
Specifies a rolling deployment strategy for updating a SageMaker endpoint.
waitIntervalInSeconds?
Type:
number
(optional)
The duration in seconds that SageMaker waits before updating more instances in the cluster.

.NET
Go
Java
Python
TypeScript