Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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:

  1. The number of things that receive the deployment exceeds the minNumberOfExecutedThings.
  2. The percentage of failures with type failureType exceeds the thresholdPercentage.
interface IoTJobAbortCriteria {
minNumberOfExecutedThings: number;
thresholdPercentage: number;
}

§Properties

§

The action to perform when the criteria are met.

§

The type of job deployment failure that can cancel a job.

§
minNumberOfExecutedThings: number
[src]

The minimum number of things that receive the configuration before the job can cancel.

§
thresholdPercentage: number
[src]

The minimum percentage of failureType failures that occur before the job can cancel.

This parameter supports up to two digits after the decimal (for example, you can specify 10.9 or 10.99, but not 10.999).