Skip to content

ManagedScalingPolicy

Source code in docs_src/capo_emr/types/managed_scaling_policy.py
class ManagedScalingPolicy(TypedDict, closed=True):
    compute_limits: NotRequired["capo_emr.types.compute_limits.ComputeLimits"]
    """<p>The Amazon EC2 unit limits for a managed scaling policy. The managed scaling activity of a cluster is not allowed to go above or below these limits. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.</p>"""
    utilization_performance_index: NotRequired[
        "capo_emr.types.utilization_performance_index_integer.UtilizationPerformanceIndexInteger"
    ]
    """<p>An integer value that represents an advanced scaling strategy. Setting a higher value optimizes for performance. Setting a lower value optimizes for resource conservation. Setting the value to 50 balances performance and resource conservation. Possible values are 1, 25, 50, 75, and 100.</p>"""
    scaling_strategy: NotRequired["capo_emr.types.scaling_strategy.ScalingStrategy"]
    """<p>Determines whether a custom scaling utilization performance index can be set. Possible values include <i>ADVANCED</i> or <i>DEFAULT</i>.</p>"""

compute_limits instance-attribute

compute_limits: NotRequired[ComputeLimits]

The Amazon EC2 unit limits for a managed scaling policy. The managed scaling activity of a cluster is not allowed to go above or below these limits. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.

scaling_strategy instance-attribute

scaling_strategy: NotRequired[ScalingStrategy]

Determines whether a custom scaling utilization performance index can be set. Possible values include ADVANCED or DEFAULT.

utilization_performance_index instance-attribute

utilization_performance_index: NotRequired[UtilizationPerformanceIndexInteger]

An integer value that represents an advanced scaling strategy. Setting a higher value optimizes for performance. Setting a lower value optimizes for resource conservation. Setting the value to 50 balances performance and resource conservation. Possible values are 1, 25, 50, 75, and 100.