Interface CfnCluster.ResourceWeightProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCluster.ResourceWeightProperty.Jsii$Proxy
- Enclosing class:
CfnCluster
@Stability(Stable)
public static interface CfnCluster.ResourceWeightProperty
extends software.amazon.jsii.JsiiSerializable
A resource weight entry for the scheduler scoring strategy.
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.*;
ResourceWeightProperty resourceWeightProperty = ResourceWeightProperty.builder()
.name("name")
.weight(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCluster.ResourceWeightPropertystatic final classAn implementation forCfnCluster.ResourceWeightProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of the resource (for example, cpu or memory).- See Also:
-
getWeight
The weight assigned to the resource for scoring.Must be between 1 and 100.
- See Also:
-
builder
-