Skip to content

ScalingConstraints

Source code in docs_src/capo_emr/types/scaling_constraints.py
class ScalingConstraints(TypedDict, closed=True):
    min_capacity: NotRequired["capo_emr.types.integer.Integer"]
    """<p>The lower boundary of Amazon 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.</p>"""
    max_capacity: NotRequired["capo_emr.types.integer.Integer"]
    """<p>The upper boundary of Amazon 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.</p>"""

max_capacity instance-attribute

max_capacity: NotRequired[Integer]

The upper boundary of Amazon 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 instance-attribute

min_capacity: NotRequired[Integer]

The lower boundary of Amazon 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.