AWSIoTAwsJobAbortCriteria

Objective-C

@interface AWSIoTAwsJobAbortCriteria

Swift

class AWSIoTAwsJobAbortCriteria

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

Required parameters: [failureType, action, thresholdPercentage, minNumberOfExecutedThings]

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

    Declaration

    Objective-C

    @property (nonatomic) AWSIoTAwsJobAbortCriteriaAbortAction action;

    Swift

    var action: AWSIoTAwsJobAbortCriteriaAbortAction { get set }
  • The type of job execution failures that can initiate a job abort.

    Declaration

    Objective-C

    @property (nonatomic) AWSIoTAwsJobAbortCriteriaFailureType failureType;

    Swift

    var failureType: AWSIoTAwsJobAbortCriteriaFailureType { get set }
  • The minimum number of things which must receive job execution notifications before the job can be aborted.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable minNumberOfExecutedThings;

    Swift

    var minNumberOfExecutedThings: NSNumber? { get set }
  • The minimum percentage of job execution failures that must occur to initiate the job abort.

    Amazon Web Services IoT Core supports up to two digits after the decimal (for example, 10.9 and 10.99, but not 10.999).

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable thresholdPercentage;

    Swift

    var thresholdPercentage: NSNumber? { get set }