Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Class: Aws::IoT::Types::AwsJobAbortCriteria

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#actionString

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

Returns:

  • (String)

1248
1249
1250
1251
1252
1253
1254
1255
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1248

class AwsJobAbortCriteria < Struct.new(
  :failure_type,
  :action,
  :threshold_percentage,
  :min_number_of_executed_things)
  SENSITIVE = []
  include Aws::Structure
end

#failure_typeString

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

Returns:

  • (String)

1248
1249
1250
1251
1252
1253
1254
1255
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1248

class AwsJobAbortCriteria < Struct.new(
  :failure_type,
  :action,
  :threshold_percentage,
  :min_number_of_executed_things)
  SENSITIVE = []
  include Aws::Structure
end

#min_number_of_executed_thingsInteger

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

Returns:

  • (Integer)

1248
1249
1250
1251
1252
1253
1254
1255
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1248

class AwsJobAbortCriteria < Struct.new(
  :failure_type,
  :action,
  :threshold_percentage,
  :min_number_of_executed_things)
  SENSITIVE = []
  include Aws::Structure
end

#threshold_percentageFloat

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

Returns:

  • (Float)

1248
1249
1250
1251
1252
1253
1254
1255
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1248

class AwsJobAbortCriteria < Struct.new(
  :failure_type,
  :action,
  :threshold_percentage,
  :min_number_of_executed_things)
  SENSITIVE = []
  include Aws::Structure
end