# AWS::GreengrassV2::Deployment IoTJobAbortCriteria ## Syntax To declare this entity in your AWS CloudFormation template, use the following syntax: ### JSON
{ "FailureType" : String, "Action" : String, "ThresholdPercentage" : Double, "MinNumberOfExecutedThings" : Integer }### YAML
FailureType: String Action: String ThresholdPercentage: Double MinNumberOfExecutedThings: Integer## Properties #### FailureType _Required_: Yes _Type_: String _Allowed Values_:
FAILED
| REJECTED
| TIMED_OUT
| ALL
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### Action
_Required_: Yes
_Type_: String
_Allowed Values_: CANCEL
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### ThresholdPercentage
_Required_: Yes
_Type_: Double
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### MinNumberOfExecutedThings
_Required_: Yes
_Type_: Integer
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)