ResourceWeightProperty Struct
A resource weight entry for the scheduler scoring strategy.
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 resourceWeightProperty: eks.CfnCluster.ResourceWeightProperty = {
name: 'name',
weight: 123,
};
Properties
The name of the resource (for example, cpu or memory).
weightoptionalnumberweightoptionalint | floatweightoptionalNumberWeightoptionaldoubleWeightoptional*float64#The weight assigned to the resource for scoring.
Must be between 1 and 100.