EndpointDeploymentConfigRollingUpdatePolicy constructor

const EndpointDeploymentConfigRollingUpdatePolicy({
  1. required Input<EndpointDeploymentConfigRollingUpdatePolicyMaximumBatchSize> maximumBatchSize,
  2. Input<int?>? maximumExecutionTimeoutInSeconds,
  3. Input<EndpointDeploymentConfigRollingUpdatePolicyRollbackMaximumBatchSize?>? rollbackMaximumBatchSize,
  4. required Input<int> waitIntervalInSeconds,
})

Creates a new EndpointDeploymentConfigRollingUpdatePolicy. maximumBatchSize Batch size for each rolling step to provision capacity and turn on traffic on the new endpoint fleet, and terminate capacity on the old endpoint fleet. Value must be between 5% to 50% of the variant's total instance count. See Maximum Batch Size. maximumExecutionTimeoutInSeconds The time limit for the total deployment. Exceeding this limit causes a timeout. Valid values are between 600 and 14400. rollbackMaximumBatchSize Batch size for rollback to the old endpoint fleet. Each rolling step to provision capacity and turn on traffic on the old endpoint fleet, and terminate capacity on the new endpoint fleet. If this field is absent, the default value will be set to 100% of total capacity which means to bring up the whole capacity of the old fleet at once during rollback. See Rollback Maximum Batch Size. waitIntervalInSeconds The length of the baking period, during which SageMaker AI monitors alarms for each batch on the new fleet. Valid values are between 0 and 3600.

Implementation

const EndpointDeploymentConfigRollingUpdatePolicy({
  required this.maximumBatchSize,
  this.maximumExecutionTimeoutInSeconds,
  this.rollbackMaximumBatchSize,
  required this.waitIntervalInSeconds,
});