Skip to content
v2.273.0

TaintSpec Struct ​

Taint interface.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_eks_v2 as eks_v2 } from 'aws-cdk-lib';
const taintSpec: eks_v2.TaintSpec = {
  effect: eks_v2.TaintEffect.NO_SCHEDULE,
  key: 'key',
  value: 'value',
};

Properties ​

Effect type.
keystringkeystrkeyStringKeystringKey*string= None#
Taint key.
valuestringvaluestrvalueStringValuestringValue*string= None#
Taint value.