import { Value } from '../../../cloudformation/Value';
import { CapacitySizeProps } from './CapacitySizeProps';
/**
  Specifies a rolling deployment strategy for updating a SageMaker endpoint.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-rollingupdatepolicy.html">the AWS Docs</a>
*/
export interface RollingUpdatePolicyProps {
    /** <code>MaximumExecutionTimeoutInSeconds</code>  <a name="cfn-sagemaker-endpoint-rollingupdatepolicy-maximumexecutiontimeoutinseconds"></a>
  The time limit for the total deployment. Exceeding this limit causes a timeout.<br />
  
  Required: No<br />
  
  Minimum: <code>600</code><br />
  
  Maximum: <code>28800</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    maximumExecutionTimeoutInSeconds?: Value<number>;
    /** <code>MaximumBatchSize</code>  <a name="cfn-sagemaker-endpoint-rollingupdatepolicy-maximumbatchsize"></a>
  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.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    maximumBatchSize: CapacitySizeProps;
    /** <code>WaitIntervalInSeconds</code>  <a name="cfn-sagemaker-endpoint-rollingupdatepolicy-waitintervalinseconds"></a>
  The length of the baking period, during which SageMaker monitors alarms for each batch on the new fleet.<br />
  
  Required: Yes<br />
  
  Minimum: <code>0</code><br />
  
  Maximum: <code>3600</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    waitIntervalInSeconds: Value<number>;
    /** <code>RollbackMaximumBatchSize</code>  <a name="cfn-sagemaker-endpoint-rollingupdatepolicy-rollbackmaximumbatchsize"></a>
  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.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    rollbackMaximumBatchSize?: CapacitySizeProps;
}
