import { Value } from '../../../cloudformation/Value';
import { TrafficRoutingConfigProps } from './TrafficRoutingConfigProps';
/**
  Update policy for a blue/green deployment. If this update policy is specified, SageMaker creates a new fleet during the deployment while maintaining the old fleet. SageMaker flips traffic to the new fleet according to the specified traffic routing configuration. Only one update policy should be used in the deployment configuration. If no update policy is specified, SageMaker uses a blue/green deployment strategy with all at once traffic shifting by default.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-bluegreenupdatepolicy.html">the AWS Docs</a>
*/
export interface BlueGreenUpdatePolicyProps {
    /** <code>MaximumExecutionTimeoutInSeconds</code>  <a name="cfn-sagemaker-endpoint-bluegreenupdatepolicy-maximumexecutiontimeoutinseconds"></a>
  Maximum execution timeout for the deployment. Note that the timeout value should be larger than the total waiting time specified in <code>TerminationWaitInSeconds</code> and <code>WaitIntervalInSeconds</code>.<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>TerminationWaitInSeconds</code>  <a name="cfn-sagemaker-endpoint-bluegreenupdatepolicy-terminationwaitinseconds"></a>
  Additional waiting time in seconds after the completion of an endpoint deployment before terminating the old endpoint fleet. Default is 0.<br />
  
  Required: No<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> */
    terminationWaitInSeconds?: Value<number>;
    /** <code>TrafficRoutingConfiguration</code>  <a name="cfn-sagemaker-endpoint-bluegreenupdatepolicy-trafficroutingconfiguration"></a>
  Defines the traffic routing strategy to shift traffic from the old fleet to the new fleet during an endpoint deployment.<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> */
    trafficRoutingConfiguration: TrafficRoutingConfigProps;
}
