Skip to content

AutoScalingPolicy

Source code in docs_src/capo_emr/types/auto_scaling_policy.py
class AutoScalingPolicy(TypedDict, closed=True):
    constraints: NotRequired["capo_emr.types.scaling_constraints.ScalingConstraints"]
    """<p>The upper and lower Amazon EC2 instance limits for an automatic scaling policy. Automatic scaling activity will not cause an instance group to grow above or below these limits.</p>"""
    rules: NotRequired["capo_emr.types.scaling_rule_list.ScalingRuleList"]
    """<p>The scale-in and scale-out rules that comprise the automatic scaling policy.</p>"""

constraints instance-attribute

constraints: NotRequired[ScalingConstraints]

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

rules instance-attribute

rules: NotRequired[ScalingRuleList]

The scale-in and scale-out rules that comprise the automatic scaling policy.