aws-cdk-lib.aws_iot.CfnJobTemplate.AbortCriteriaProperty

interface AbortCriteriaProperty

LanguageType name
.NETAmazon.CDK.AWS.IoT.CfnJobTemplate.AbortCriteriaProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnJobTemplate_AbortCriteriaProperty
Javasoftware.amazon.awscdk.services.iot.CfnJobTemplate.AbortCriteriaProperty
Pythonaws_cdk.aws_iot.CfnJobTemplate.AbortCriteriaProperty
TypeScript aws-cdk-lib » aws_iot » CfnJobTemplate » AbortCriteriaProperty

The criteria that determine when and how a job abort takes place.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot as iot } from 'aws-cdk-lib';
const abortCriteriaProperty: iot.CfnJobTemplate.AbortCriteriaProperty = {
  action: 'action',
  failureType: 'failureType',
  minNumberOfExecutedThings: 123,
  thresholdPercentage: 123,
};

Properties

NameTypeDescription
actionstringThe type of job action to take to initiate the job abort.
failureTypestringThe type of job execution failures that can initiate a job abort.
minNumberOfExecutedThingsnumberThe minimum number of things which must receive job execution notifications before the job can be aborted.
thresholdPercentagenumberThe minimum percentage of job execution failures that must occur to initiate the job abort.

action

Type: string

The type of job action to take to initiate the job abort.


failureType

Type: string

The type of job execution failures that can initiate a job abort.


minNumberOfExecutedThings

Type: number

The minimum number of things which must receive job execution notifications before the job can be aborted.


thresholdPercentage

Type: number

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