Interface CfnDeployment.IoTJobAbortCriteriaProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDeployment.IoTJobAbortCriteriaProperty.Jsii$Proxy
- Enclosing class:
CfnDeployment
@Stability(Stable)
public static interface CfnDeployment.IoTJobAbortCriteriaProperty
extends software.amazon.jsii.JsiiSerializable
Contains criteria that define when and how to cancel a job.
The deployment stops if the following conditions are true:
- The number of things that receive the deployment exceeds the
minNumberOfExecutedThings
. - The percentage of failures with type
failureType
exceeds thethresholdPercentage
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.greengrassv2.*; IoTJobAbortCriteriaProperty ioTJobAbortCriteriaProperty = IoTJobAbortCriteriaProperty.builder() .action("action") .failureType("failureType") .minNumberOfExecutedThings(123) .thresholdPercentage(123) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnDeployment.IoTJobAbortCriteriaProperty
static final class
An implementation forCfnDeployment.IoTJobAbortCriteriaProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The action to perform when the criteria are met.The type of job deployment failure that can cancel a job.The minimum number of things that receive the configuration before the job can cancel.The minimum percentage offailureType
failures that occur before the job can cancel.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAction
The action to perform when the criteria are met.- See Also:
-
getFailureType
The type of job deployment failure that can cancel a job.- See Also:
-
getMinNumberOfExecutedThings
The minimum number of things that receive the configuration before the job can cancel.- See Also:
-
getThresholdPercentage
The minimum percentage offailureType
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
or10.99
, but not10.999
).- See Also:
-
builder
-