Interface CfnNodegroup.TaintProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnNodegroup.TaintProperty.Jsii$Proxy
- Enclosing class:
- CfnNodegroup
@Stability(Stable)
public static interface CfnNodegroup.TaintProperty
extends software.amazon.jsii.JsiiSerializable
A property that allows a node to repel a set of pods.
For more information, see Node taints on managed node groups .
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.*;
TaintProperty taintProperty = TaintProperty.builder()
.effect("effect")
.key("key")
.value("value")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnNodegroup.TaintPropertystatic final classAn implementation forCfnNodegroup.TaintProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEffect
The effect of the taint. -
getKey
The key of the taint. -
getValue
The value of the taint. -
builder
- Returns:
- a
CfnNodegroup.TaintProperty.BuilderofCfnNodegroup.TaintProperty
-