Module: AWSCDK::EKS::TaintEffect

Defined in:
eks/taint_effect.rb

Overview

Effect types of kubernetes node taint.

Note: These values are specifically for AWS EKS NodeGroups and use the AWS API format. When using AWS CLI or API, taint effects must be NO_SCHEDULE, PREFER_NO_SCHEDULE, or NO_EXECUTE. When using Kubernetes directly or kubectl, taint effects must be NoSchedule, PreferNoSchedule, or NoExecute.

For Kubernetes manifests (like Karpenter NodePools), use string literals with PascalCase format:

  • 'NoSchedule' instead of TaintEffect.NO_SCHEDULE
  • 'PreferNoSchedule' instead of TaintEffect.PREFER_NO_SCHEDULE
  • 'NoExecute' instead of TaintEffect.NO_EXECUTE

Constant Summary collapse

NO_SCHEDULE =
Deprecated.
Note:

Default:

NoSchedule.

Jsii::Enum.new("aws-cdk-lib.aws_eks.TaintEffect", "NO_SCHEDULE")
PREFER_NO_SCHEDULE =
Deprecated.
Note:

Default:

PreferNoSchedule.

Jsii::Enum.new("aws-cdk-lib.aws_eks.TaintEffect", "PREFER_NO_SCHEDULE")
NO_EXECUTE =
Deprecated.
Note:

Default:

NoExecute.

Jsii::Enum.new("aws-cdk-lib.aws_eks.TaintEffect", "NO_EXECUTE")