interface ScoringStrategyProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.EKSv2.CfnCluster.ScoringStrategyProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awseksv2#CfnCluster_ScoringStrategyProperty |
Java | software.amazon.awscdk.services.eks_v2.CfnCluster.ScoringStrategyProperty |
Python | aws_cdk.aws_eks_v2.CfnCluster.ScoringStrategyProperty |
TypeScript | aws-cdk-lib » aws_eks_v2 » CfnCluster » ScoringStrategyProperty |
The scoring strategy configuration for the NodeResourcesFit scheduler plugin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_eks_v2 as eks_v2 } from 'aws-cdk-lib';
const scoringStrategyProperty: eks_v2.CfnCluster.ScoringStrategyProperty = {
resources: [{
name: 'name',
weight: 123,
}],
type: 'type',
};
Properties
| Name | Type | Description |
|---|---|---|
| resources? | IResolvable | (IResolvable | Resource)[] | The resource weights used for scoring nodes. |
| type? | string | The scoring strategy type (LeastAllocated or MostAllocated). |
resources?
Type:
IResolvable | (IResolvable | Resource)[]
(optional)
The resource weights used for scoring nodes.
type?
Type:
string
(optional)
The scoring strategy type (LeastAllocated or MostAllocated).

.NET
Go
Java
Python
TypeScript