Interface CfnCluster.ScoringStrategyProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCluster.ScoringStrategyProperty.Jsii$Proxy
- Enclosing class:
CfnCluster
@Stability(Stable)
public static interface CfnCluster.ScoringStrategyProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.eks.*;
ScoringStrategyProperty scoringStrategyProperty = ScoringStrategyProperty.builder()
.resources(List.of(ResourceWeightProperty.builder()
.name("name")
.weight(123)
.build()))
.type("type")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCluster.ScoringStrategyPropertystatic final classAn implementation forCfnCluster.ScoringStrategyProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getResources
The resource weights used for scoring nodes.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnCluster.ResourceWeightProperty>- See Also:
-
getType
The scoring strategy type (LeastAllocated or MostAllocated).- See Also:
-
builder
-