Skip to content

AutoScalingPolicyDescription

Source code in docs_src/capo_emr/types/auto_scaling_policy_description.py
class AutoScalingPolicyDescription(TypedDict, closed=True):
    status: NotRequired[
        "capo_emr.types.auto_scaling_policy_status.AutoScalingPolicyStatus"
    ]
    """<p>The status of an automatic scaling policy. </p>"""
    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.

status instance-attribute

status: NotRequired[AutoScalingPolicyStatus]

The status of an automatic scaling policy.