Class: Aws::EMR::Types::ScalingAction
- Inherits:
-
Struct
- Object
- Struct
- Aws::EMR::Types::ScalingAction
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-emr/types.rb
Overview
Note:
When making an API call, you may pass ScalingAction data as a hash:
{
market: "ON_DEMAND", # accepts ON_DEMAND, SPOT
simple_scaling_policy_configuration: { # required
adjustment_type: "CHANGE_IN_CAPACITY", # accepts CHANGE_IN_CAPACITY, PERCENT_CHANGE_IN_CAPACITY, EXACT_CAPACITY
scaling_adjustment: 1, # required
cool_down: 1,
},
}
The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.
Instance Attribute Summary collapse
-
#market ⇒ String
Not available for instance groups.
-
#simple_scaling_policy_configuration ⇒ Types::SimpleScalingPolicyConfiguration
The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.
Instance Attribute Details
#market ⇒ String
Not available for instance groups. Instance groups use the market type specified for the group.
4595 4596 4597 4598 4599 |
# File 'lib/aws-sdk-emr/types.rb', line 4595 class ScalingAction < Struct.new( :market, :simple_scaling_policy_configuration) include Aws::Structure end |
#simple_scaling_policy_configuration ⇒ Types::SimpleScalingPolicyConfiguration
The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.
4595 4596 4597 4598 4599 |
# File 'lib/aws-sdk-emr/types.rb', line 4595 class ScalingAction < Struct.new( :market, :simple_scaling_policy_configuration) include Aws::Structure end |