You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::EMR::Types::ScalingAction

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-emr/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

Instance Attribute Details

#marketString

Not available for instance groups. Instance groups use the market type specified for the group.

Returns:

  • (String)


4583
4584
4585
4586
4587
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 4583

class ScalingAction < Struct.new(
  :market,
  :simple_scaling_policy_configuration)
  include Aws::Structure
end

#simple_scaling_policy_configurationTypes::SimpleScalingPolicyConfiguration

The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.



4583
4584
4585
4586
4587
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 4583

class ScalingAction < Struct.new(
  :market,
  :simple_scaling_policy_configuration)
  include Aws::Structure
end