Skip to content

EksLabelSelectorRequirement

Source code in docs_src/capo_resiliencehubv2/types/eks_label_selector_requirement.py
class EksLabelSelectorRequirement(TypedDict, closed=True):
    key: "capo_resiliencehubv2.types.eks_label_key.EksLabelKey"
    """<p>The label key that the requirement applies to.</p>"""
    operator: "capo_resiliencehubv2.types.eks_label_selector_operator.EksLabelSelectorOperator"
    """<p>The operator that relates the label key to the values.</p>"""
    values: NotRequired[
        "capo_resiliencehubv2.types.eks_label_value_list.EksLabelValueList"
    ]
    """<p>The label values to compare against. Specify values when the operator is IN or NOT_IN. Leave this empty when the operator is EXISTS or DOES_NOT_EXIST.</p>"""

key instance-attribute

The label key that the requirement applies to.

operator instance-attribute

The operator that relates the label key to the values.

values instance-attribute

values: NotRequired[EksLabelValueList]

The label values to compare against. Specify values when the operator is IN or NOT_IN. Leave this empty when the operator is EXISTS or DOES_NOT_EXIST.