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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ScalingAction as input to an Aws::Client method, you can use a vanilla 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.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#marketString

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

Possible values:

  • ON_DEMAND
  • SPOT

Returns:

  • (String)

    Not available for instance groups.

#simple_scaling_policy_configurationTypes::SimpleScalingPolicyConfiguration

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

Returns: