# ScoringStrategyProperty

The scoring strategy configuration for the NodeResourcesFit scheduler plugin.

- Source: Generated code
- Type last changed: v2.268.0 · 2 Sep 2026

## 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

- `resources`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnCluster.ResourceWeightProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_eks.CfnCluster.ResourceWeightProperty.html)[] — The resource weights used for scoring nodes.

- `type`: string — The scoring strategy type (LeastAllocated or MostAllocated).
