AWS::GreengrassV2::Deployment IoTJobAbortCriteria
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
failureTypeexceeds thethresholdPercentage.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Action" :String, "FailureType" :String, "MinNumberOfExecutedThings" :Integer, "ThresholdPercentage" :Double}
YAML
Action:StringFailureType:StringMinNumberOfExecutedThings:IntegerThresholdPercentage:Double
Properties
Action-
The action to perform when the criteria are met.
Required: Yes
Type: String
Update requires: Replacement
FailureType-
The type of job deployment failure that can cancel a job.
Required: Yes
Type: String
Update requires: Replacement
MinNumberOfExecutedThings-
The minimum number of things that receive the configuration before the job can cancel.
Required: Yes
Type: Integer
Update requires: Replacement
ThresholdPercentage-
The minimum percentage of
failureTypefailures that occur before the job can cancel.This parameter supports up to two digits after the decimal (for example, you can specify
10.9or10.99, but not10.999).Required: Yes
Type: Double
Update requires: Replacement