TaintSpec

class aws_cdk.aws_eks.TaintSpec(*, effect=None, key=None, value=None)

Bases: object

Taint interface.

Parameters:
  • effect (Optional[TaintEffect]) – Effect type. Default: - None

  • key (Optional[str]) – Taint key. Default: - None

  • value (Optional[str]) – Taint value. Default: - None

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_eks as eks

taint_spec = eks.TaintSpec(
    effect=eks.TaintEffect.NO_SCHEDULE,
    key="key",
    value="value"
)

Attributes

effect

Effect type.

Default:
  • None

key

Taint key.

Default:
  • None

value

Taint value.

Default:
  • None