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

Class: Aws::EMR::Types::ScalingConstraints

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

Overview

Note:

When passing ScalingConstraints as input to an Aws::Client method, you can use a vanilla Hash:

{
  min_capacity: 1, # required
  max_capacity: 1, # required
}

The upper and lower EC2 instance limits for an automatic scaling policy. Automatic scaling activities triggered by automatic scaling rules will not cause an instance group to grow above or below these limits.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#max_capacityInteger

The upper boundary of EC2 instances in an instance group beyond which scaling activities are not allowed to grow. Scale-out activities will not add instances beyond this boundary.

Returns:

  • (Integer)

    The upper boundary of EC2 instances in an instance group beyond which scaling activities are not allowed to grow.

#min_capacityInteger

The lower boundary of EC2 instances in an instance group below which scaling activities are not allowed to shrink. Scale-in activities will not terminate instances below this boundary.

Returns:

  • (Integer)

    The lower boundary of EC2 instances in an instance group below which scaling activities are not allowed to shrink.