aws-cdk-lib.aws_eks.CfnNodegroup.TaintProperty

interface TaintProperty

LanguageType name
.NETAmazon.CDK.AWS.EKS.CfnNodegroup.TaintProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awseks#CfnNodegroup_TaintProperty
Javasoftware.amazon.awscdk.services.eks.CfnNodegroup.TaintProperty
Pythonaws_cdk.aws_eks.CfnNodegroup.TaintProperty
TypeScript aws-cdk-lib » 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 { aws_eks as eks } from 'aws-cdk-lib';
const taintProperty: eks.CfnNodegroup.TaintProperty = {
  effect: 'effect',
  key: 'key',
  value: 'value',
};

Properties

NameTypeDescription
effect?stringThe effect of the taint.
key?stringThe key of the taint.
value?stringThe 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.