Skip to content

ScalingRule

Source code in docs_src/capo_emr/types/scaling_rule.py
class ScalingRule(TypedDict, closed=True):
    name: NotRequired["capo_emr.types.string.String"]
    """<p>The name used to identify an automatic scaling rule. Rule names must be unique within a scaling policy.</p>"""
    description: NotRequired["capo_emr.types.string.String"]
    """<p>A friendly, more verbose description of the automatic scaling rule.</p>"""
    action: NotRequired["capo_emr.types.scaling_action.ScalingAction"]
    """<p>The conditions that trigger an automatic scaling activity.</p>"""
    trigger: NotRequired["capo_emr.types.scaling_trigger.ScalingTrigger"]
    """<p>The CloudWatch alarm definition that determines when automatic scaling activity is triggered.</p>"""

action instance-attribute

action: NotRequired[ScalingAction]

The conditions that trigger an automatic scaling activity.

description instance-attribute

description: NotRequired[String]

A friendly, more verbose description of the automatic scaling rule.

name instance-attribute

name: NotRequired[String]

The name used to identify an automatic scaling rule. Rule names must be unique within a scaling policy.

trigger instance-attribute

trigger: NotRequired[ScalingTrigger]

The CloudWatch alarm definition that determines when automatic scaling activity is triggered.