# TaintSpec

Taint interface.

- Source: [`aws-eks/lib/managed-nodegroup.ts`](https://github.com/aws/aws-cdk/blob/v2.276.0/packages/aws-cdk-lib/aws-eks/lib/managed-nodegroup.ts#L201)

## Example

```ts
// 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 taintSpec: eks.TaintSpec = {
  effect: eks.TaintEffect.NO_SCHEDULE,
  key: 'key',
  value: 'value',
};
```

## Properties

- `effect`: [TaintEffect](/cdk/api/v2/docs/aws-cdk-lib.aws_eks.TaintEffect.html) = None — Effect type.

- `key`: string = None — Taint key.

- `value`: string = None — Taint value.
