interface TaintProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EKS.CfnNodegroup.TaintProperty |
Java | software.amazon.awscdk.services.eks.CfnNodegroup.TaintProperty |
Python | aws_cdk.aws_eks.CfnNodegroup.TaintProperty |
TypeScript | @aws-cdk/aws-eks » CfnNodegroup » TaintProperty |
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 * as eks from '@aws-cdk/aws-eks';
const taintProperty: eks.CfnNodegroup.TaintProperty = {
effect: 'effect',
key: 'key',
value: 'value',
};
Properties
Name | Type | Description |
---|---|---|
effect? | string | The effect of the taint. |
key? | string | The key of the taint. |
value? | string | The value of the taint. |
effect?
Type:
string
(optional)
The effect of the taint.
key?
Type:
string
(optional)
The key of the taint.
value?
Type:
string
(optional)
The value of the taint.