Skip to content
v2.274.0

ScoringStrategyProperty Struct ​

The scoring strategy configuration for the NodeResourcesFit scheduler plugin.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_eks as eks } from 'aws-cdk-lib';
const scoringStrategyProperty: eks.CfnCluster.ScoringStrategyProperty = {
  resources: [{
    name: 'name',
    weight: 123,
  }],
  type: 'type',
};

Properties ​

resourcesIResolvable | IResolvable | CfnCluster.ResourceWeightProperty[]resourcestyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ResourceWeightProperty]]]resourcesIResolvableResourcesIResolvableResourcesinterface{}#
The resource weights used for scoring nodes.
typestringtypestrtypeStringTypestringType*string#
The scoring strategy type (LeastAllocated or MostAllocated).