AbortCriteriaList

AbortCriteriaList schema

ComplianceIoTSecurityVulnerability Management
View JSON Schema on GitHub

JSON Schema

iot-device-defender-abort-criteria-list-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-iot-device-defender/refs/heads/main/json-schema/iot-device-defender-abort-criteria-list-schema.json",
  "title": "AbortCriteriaList",
  "description": "AbortCriteriaList schema",
  "type": "array",
  "items": {
    "type": "object",
    "required": [
      "failureType",
      "action",
      "thresholdPercentage",
      "minNumberOfExecutedThings"
    ],
    "properties": {
      "failureType": {
        "allOf": [
          {
            "$ref": "#/components/schemas/JobExecutionFailureType"
          },
          {
            "description": "The type of job execution failures that can initiate a job abort."
          }
        ]
      },
      "action": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbortAction"
          },
          {
            "description": "The type of job action to take to initiate the job abort."
          }
        ]
      },
      "thresholdPercentage": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AbortThresholdPercentage"
          },
          {
            "description": "<p>The minimum percentage of job execution failures that must occur to initiate the job abort.</p> <p>Amazon Web Services IoT Core supports up to two digits after the decimal (for example, 10.9 and 10.99, but not 10.999).</p>"
          }
        ]
      },
      "minNumberOfExecutedThings": {
        "allOf": [
          {
            "$ref": "#/components/schemas/MinimumNumberOfExecutedThings"
          },
          {
            "description": "The minimum number of things which must receive job execution notifications before the job can be aborted."
          }
        ]
      }
    },
    "description": "The criteria that determine when and how a job abort takes place."
  }
}