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.

Constant Summary collapse

SENSITIVE =
[]

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)


6792
6793
6794
6795
6796
6797
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 6792

class ScalingAction < Struct.new(
  :market,
  :simple_scaling_policy_configuration)
  SENSITIVE = []
  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.



6792
6793
6794
6795
6796
6797
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 6792

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