IoTJobAbortCriteria
import type { IoTJobAbortCriteria } from "https://aws-api.deno.dev/v0.3/services/greengrassv2.ts?docs=full";
Contains criteria that define when and how to cancel a job.
The deployment stops if the following conditions are true:
- The number of things that receive the deployment exceeds the
minNumberOfExecutedThings
. - The percentage of failures with type
failureType
exceeds thethresholdPercentage
.
interface IoTJobAbortCriteria {
action: IoTJobAbortAction;
failureType: IoTJobExecutionFailureType;
minNumberOfExecutedThings: number;
thresholdPercentage: number;
}§Properties
§
action: IoTJobAbortAction
[src]The action to perform when the criteria are met.
§
failureType: IoTJobExecutionFailureType
[src]The type of job deployment failure that can cancel a job.