Skip to content
v2.275.0

DeploymentConfigProperty Struct ​

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

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 ​

autoRollbackConfigurationoptionalIResolvable | IResolvable | CfnCluster.AlarmDetailsProperty[]auto_rollback_configurationoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, AlarmDetailsProperty]]]autoRollbackConfigurationoptionalIResolvableAutoRollbackConfigurationoptionalIResolvableAutoRollbackConfigurationoptionalinterface{}#
Automatic rollback configuration for handling endpoint deployment failures and recovery.
rollingUpdatePolicyoptionalIResolvable | CfnCluster.RollingUpdatePolicyPropertyrolling_update_policyoptionaltyping.Union[IResolvable, RollingUpdatePolicyProperty]rollingUpdatePolicyoptionalIResolvableRollingUpdatePolicyoptionalIResolvableRollingUpdatePolicyoptionalinterface{}#
Specifies a rolling deployment strategy for updating a SageMaker endpoint.
waitIntervalInSecondsoptionalnumberwait_interval_in_secondsoptionalint | floatwaitIntervalInSecondsoptionalNumberWaitIntervalInSecondsoptionaldoubleWaitIntervalInSecondsoptional*float64#
The duration in seconds that SageMaker waits before updating more instances in the cluster.