Class: Aws::EMR::Types::ScalingConstraints
- Inherits:
-
Struct
- Object
- Struct
- Aws::EMR::Types::ScalingConstraints
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-emr/types.rb
Overview
When making an API call, you may pass ScalingConstraints data as a 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.
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.
4499 4500 4501 4502 4503 |
# File 'lib/aws-sdk-emr/types.rb', line 4499 class ScalingConstraints < Struct.new( :min_capacity, :max_capacity) include Aws::Structure end |
#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.
4499 4500 4501 4502 4503 |
# File 'lib/aws-sdk-emr/types.rb', line 4499 class ScalingConstraints < Struct.new( :min_capacity, :max_capacity) include Aws::Structure end |