Class CfnJobTemplate.AbortCriteriaProperty
The criteria that determine when and how a job abort takes place.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.IoT
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AbortCriteriaProperty : Object, CfnJobTemplate.IAbortCriteriaProperty
Syntax (vb)
Public Class AbortCriteriaProperty
Inherits Object
Implements CfnJobTemplate.IAbortCriteriaProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoT;
var abortCriteriaProperty = new AbortCriteriaProperty {
Action = "action",
FailureType = "failureType",
MinNumberOfExecutedThings = 123,
ThresholdPercentage = 123
};
Synopsis
Constructors
AbortCriteriaProperty() |
Properties
Action | The type of job action to take to initiate the job abort. |
FailureType | The type of job execution failures that can initiate a job abort. |
MinNumberOfExecutedThings | The minimum number of things which must receive job execution notifications before the job can be aborted. |
ThresholdPercentage | The minimum percentage of job execution failures that must occur to initiate the job abort. |
Constructors
AbortCriteriaProperty()
public AbortCriteriaProperty()
Properties
Action
The type of job action to take to initiate the job abort.
public string Action { get; set; }
Property Value
System.String
Remarks
FailureType
The type of job execution failures that can initiate a job abort.
public string FailureType { get; set; }
Property Value
System.String
Remarks
MinNumberOfExecutedThings
The minimum number of things which must receive job execution notifications before the job can be aborted.
public double MinNumberOfExecutedThings { get; set; }
Property Value
System.Double
Remarks
ThresholdPercentage
The minimum percentage of job execution failures that must occur to initiate the job abort.
public double ThresholdPercentage { get; set; }
Property Value
System.Double
Remarks
AWS IoT Core supports up to two digits after the decimal (for example, 10.9 and 10.99, but not 10.999).