AWS::GreengrassV2::Deployment IoTJobAbortCriteria - AWS CloudFormation

AWS::GreengrassV2::Deployment IoTJobAbortCriteria

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.

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 action to perform when the criteria are met.

Required: Yes

Type: String

Allowed values: CANCEL

Update requires: Replacement

FailureType

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

Required: Yes

Type: String

Allowed values: FAILED | REJECTED | TIMED_OUT | ALL

Update requires: Replacement

MinNumberOfExecutedThings

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

Required: Yes

Type: Integer

Minimum: 1

Maximum: 2147483647

Update requires: Replacement

ThresholdPercentage

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).

Required: Yes

Type: Number

Minimum: 0

Maximum: 100

Update requires: Replacement