Class: Aws::EMR::Types::ScalingTrigger
- Inherits:
-
Struct
- Object
- Struct
- Aws::EMR::Types::ScalingTrigger
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-emr/types.rb
Overview
Note:
When making an API call, you may pass ScalingTrigger data as a hash:
{
cloud_watch_alarm_definition: { # required
comparison_operator: "GREATER_THAN_OR_EQUAL", # required, accepts GREATER_THAN_OR_EQUAL, GREATER_THAN, LESS_THAN, LESS_THAN_OR_EQUAL
evaluation_periods: 1,
metric_name: "String", # required
namespace: "String",
period: 1, # required
statistic: "SAMPLE_COUNT", # accepts SAMPLE_COUNT, AVERAGE, SUM, MINIMUM, MAXIMUM
threshold: 1.0, # required
unit: "NONE", # accepts NONE, SECONDS, MICRO_SECONDS, MILLI_SECONDS, BYTES, KILO_BYTES, MEGA_BYTES, GIGA_BYTES, TERA_BYTES, BITS, KILO_BITS, MEGA_BITS, GIGA_BITS, TERA_BITS, PERCENT, COUNT, BYTES_PER_SECOND, KILO_BYTES_PER_SECOND, MEGA_BYTES_PER_SECOND, GIGA_BYTES_PER_SECOND, TERA_BYTES_PER_SECOND, BITS_PER_SECOND, KILO_BITS_PER_SECOND, MEGA_BITS_PER_SECOND, GIGA_BITS_PER_SECOND, TERA_BITS_PER_SECOND, COUNT_PER_SECOND
dimensions: [
{
key: "String",
value: "String",
},
],
},
}
The conditions that trigger an automatic scaling activity.
Instance Attribute Summary collapse
-
#cloud_watch_alarm_definition ⇒ Types::CloudWatchAlarmDefinition
The definition of a CloudWatch metric alarm.
Instance Attribute Details
#cloud_watch_alarm_definition ⇒ Types::CloudWatchAlarmDefinition
The definition of a CloudWatch metric alarm. When the defined alarm conditions are met along with other trigger parameters, scaling activity begins.
4734 4735 4736 4737 |
# File 'lib/aws-sdk-emr/types.rb', line 4734 class ScalingTrigger < Struct.new( :cloud_watch_alarm_definition) include Aws::Structure end |