interface ScoringStrategyProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.EKS.CfnClusterPropsMixin.ScoringStrategyProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awseks#CfnClusterPropsMixin_ScoringStrategyProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.eks.CfnClusterPropsMixin.ScoringStrategyProperty |
Python | aws_cdk.cfn_property_mixins.aws_eks.CfnClusterPropsMixin.ScoringStrategyProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_eks » CfnClusterPropsMixin » 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 as eks } from '@aws-cdk/cfn-property-mixins';
const scoringStrategyProperty: eks.CfnClusterPropsMixin.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