Interface CfnCluster.ClusterKubernetesConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCluster.ClusterKubernetesConfigProperty.Jsii$Proxy
- Enclosing class:
CfnCluster
@Stability(Stable)
public static interface CfnCluster.ClusterKubernetesConfigProperty
extends software.amazon.jsii.JsiiSerializable
Kubernetes configuration that specifies labels and taints to be applied to cluster nodes in an instance group.
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.sagemaker.*;
ClusterKubernetesConfigProperty clusterKubernetesConfigProperty = ClusterKubernetesConfigProperty.builder()
.labels(Map.of(
"labelsKey", "labels"))
.taints(List.of(ClusterKubernetesTaintProperty.builder()
.effect("effect")
.key("key")
// the properties below are optional
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCluster.ClusterKubernetesConfigPropertystatic final classAn implementation forCfnCluster.ClusterKubernetesConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLabels
Key-value pairs of labels to be applied to cluster nodes.Returns union: either Mapinvalid input: '<'String,
String> orIResolvable- See Also:
-
getTaints
List of taints to be applied to cluster nodes.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnCluster.ClusterKubernetesTaintProperty>- See Also:
-
builder
-