AWS::IoT::JobTemplate AbortCriteria
The criteria that determine when and how a job abort takes place.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Action" :
String
, "FailureType" :String
, "MinNumberOfExecutedThings" :Integer
, "ThresholdPercentage" :Number
}
YAML
Action:
String
FailureType:String
MinNumberOfExecutedThings:Integer
ThresholdPercentage:Number
Properties
Action
-
The type of job action to take to initiate the job abort.
Required: Yes
Type: String
Allowed values:
CANCEL
Update requires: Replacement
FailureType
-
The type of job execution failures that can initiate a job abort.
Required: Yes
Type: String
Allowed values:
FAILED | REJECTED | TIMED_OUT | ALL
Update requires: Replacement
MinNumberOfExecutedThings
-
The minimum number of things which must receive job execution notifications before the job can be aborted.
Required: Yes
Type: Integer
Minimum:
1
Update requires: Replacement
ThresholdPercentage
-
The minimum percentage of job execution failures that must occur to initiate the job abort.
AWS IoT Core supports up to two digits after the decimal (for example, 10.9 and 10.99, but not 10.999).
Required: Yes
Type: Number
Maximum:
100
Update requires: Replacement