EksLabelSelectorRequirement
A single label requirement in a label selector, expressed as a key, an operator, and an optional list of values.
Contents
- key
-
The label key that the requirement applies to.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 317.
Pattern:
([a-z0-9]([-a-z0-9.]*[a-z0-9])?/)?[A-Za-z0-9]([-A-Za-z0-9_.]*[A-Za-z0-9])?Required: Yes
- operator
-
The operator that relates the label key to the values.
Type: String
Valid Values:
IN | NOT_IN | EXISTS | DOES_NOT_EXISTRequired: Yes
- values
-
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.
Type: Array of strings
Array Members: Minimum number of 0 items. Maximum number of 20 items.
Length Constraints: Minimum length of 0. Maximum length of 63.
Pattern:
([A-Za-z0-9]([-A-Za-z0-9_.]*[A-Za-z0-9])?)?Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: