View a markdown version of this page

AWS::ResilienceHubV2::Service EksLabelSelectorRequirement - AWS CloudFormation

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::ResilienceHubV2::Service EksLabelSelectorRequirement

A single label requirement in a label selector, expressed as a key, an operator, and an optional list of values.

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "Key" : String, "Operator" : String, "Values" : [ String, ... ] }

YAML

Key: String Operator: String Values: - String

Properties

Key

The label key that the requirement applies to.

Required: Yes

Type: String

Pattern: ^([a-z0-9]([-a-z0-9.]{0,251}[a-z0-9])?/)?[a-zA-Z0-9]([-a-zA-Z0-9_.]{0,61}[a-zA-Z0-9])?$

Minimum: 1

Maximum: 317

Update requires: No interruption

Operator

The operator that relates the label key to the values.

Required: Yes

Type: String

Allowed values: IN | NOT_IN | EXISTS | DOES_NOT_EXIST

Update requires: No interruption

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.

Required: No

Type: Array of String

Minimum: 0 | 1

Maximum: 63 | 20

Update requires: No interruption