interface TaintProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EKS.CfnNodegroup.TaintProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awseks#CfnNodegroup_TaintProperty |
Java | software.amazon.awscdk.services.eks.CfnNodegroup.TaintProperty |
Python | aws_cdk.aws_eks.CfnNodegroup.TaintProperty |
TypeScript | aws-cdk-lib » aws_eks » CfnNodegroup » TaintProperty |
A property that allows a node to repel a Pod
.
For more information, see Node taints on managed node groups in the Amazon EKS User Guide .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_eks as eks } from 'aws-cdk-lib';
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.