Interface CfnClusterPropsMixin.KubeSchedulerConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnClusterPropsMixin.KubeSchedulerConfigProperty.Jsii$Proxy
- Enclosing class:
CfnClusterPropsMixin
@Stability(Stable)
public static interface CfnClusterPropsMixin.KubeSchedulerConfigProperty
extends software.amazon.jsii.JsiiSerializable
The configuration for the Kubernetes scheduler on an Amazon EKS cluster.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.eks.*;
KubeSchedulerConfigProperty kubeSchedulerConfigProperty = KubeSchedulerConfigProperty.builder()
.nodeResourcesFit(NodeResourcesFitConfigProperty.builder()
.scoringStrategy(ScoringStrategyProperty.builder()
.resources(List.of(ResourceWeightProperty.builder()
.name("name")
.weight(123)
.build()))
.type("type")
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnClusterPropsMixin.KubeSchedulerConfigPropertystatic final classAn implementation forCfnClusterPropsMixin.KubeSchedulerConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNodeResourcesFit
The NodeResourcesFit plugin configuration for the Kubernetes scheduler.Returns union: either
IResolvableorCfnClusterPropsMixin.NodeResourcesFitConfigProperty- See Also:
-
builder
-