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
- Struct
- Aws::EMR::Types::ScalingConstraints
- Defined in:
- (unknown)
Overview
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
-
#max_capacity ⇒ Integer
The upper boundary of EC2 instances in an instance group beyond which scaling activities are not allowed to grow.
-
#min_capacity ⇒ Integer
The lower boundary of EC2 instances in an instance group below which scaling activities are not allowed to shrink.
Instance Attribute Details
#max_capacity ⇒ Integer
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.
#min_capacity ⇒ Integer
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.