Skip to content

ScoringStrategy

Source code in docs_src/capo_eks/types/scoring_strategy.py
class ScoringStrategy(TypedDict, closed=True):
    type: NotRequired["capo_eks.types.scoring_strategy_type.ScoringStrategyType"]
    """<p>The scoring strategy type. Valid values are <code>LeastAllocated</code> or <code>MostAllocated</code>.</p>"""
    resources: NotRequired["capo_eks.types.resource_weight_list.ResourceWeightList"]
    """<p>The resource weights used for scoring nodes.</p>"""

resources instance-attribute

resources: NotRequired[ResourceWeightList]

The resource weights used for scoring nodes.

type instance-attribute

type: NotRequired[ScoringStrategyType]

The scoring strategy type. Valid values are LeastAllocated or MostAllocated.