Interface CfnCluster.NodeResourcesFitConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCluster.NodeResourcesFitConfigProperty.Jsii$Proxy
- Enclosing class:
CfnCluster
@Stability(Stable)
public static interface CfnCluster.NodeResourcesFitConfigProperty
extends software.amazon.jsii.JsiiSerializable
The NodeResourcesFit plugin configuration for the Kubernetes scheduler.
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_v2.*;
NodeResourcesFitConfigProperty nodeResourcesFitConfigProperty = NodeResourcesFitConfigProperty.builder()
.scoringStrategy(ScoringStrategyProperty.builder()
.resources(List.of(ResourceWeightProperty.builder()
.name("name")
.weight(123)
.build()))
.type("type")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCluster.NodeResourcesFitConfigPropertystatic final classAn implementation forCfnCluster.NodeResourcesFitConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getScoringStrategy
The scoring strategy configuration for the NodeResourcesFit scheduler plugin.Returns union: either
IResolvableorCfnCluster.ScoringStrategyProperty- See Also:
-
builder
-