import { Value } from '../../../cloudformation/Value';
/**
  The criteria that determine when and how a job abort takes place.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-jobtemplate-abortcriteria.html">the AWS Docs</a>
*/
export interface AbortCriteriaProps {
    /** <code>Action</code>  <a name="cfn-iot-jobtemplate-abortcriteria-action"></a>
  The type of job action to take to initiate the job abort.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    action: Value<string>;
    /** <code>FailureType</code>  <a name="cfn-iot-jobtemplate-abortcriteria-failuretype"></a>
  The type of job execution failures that can initiate a job abort.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    failureType: Value<string>;
    /** <code>ThresholdPercentage</code>  <a name="cfn-iot-jobtemplate-abortcriteria-thresholdpercentage"></a>
  The minimum percentage of job execution failures that must occur to initiate the job abort.<br />
  AWS IoT Core supports up to two digits after the decimal (for example, 10.9 and 10.99, but not 10.999).<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    thresholdPercentage: Value<number>;
    /** <code>MinNumberOfExecutedThings</code>  <a name="cfn-iot-jobtemplate-abortcriteria-minnumberofexecutedthings"></a>
  The minimum number of things which must receive job execution notifications before the job can be aborted.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    minNumberOfExecutedThings: Value<number>;
}
