interface EksLabelSelectorRequirementProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ResilienceHubV2.CfnService.EksLabelSelectorRequirementProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsresiliencehubv2#CfnService_EksLabelSelectorRequirementProperty |
Java | software.amazon.awscdk.services.resiliencehubv2.CfnService.EksLabelSelectorRequirementProperty |
Python | aws_cdk.aws_resiliencehubv2.CfnService.EksLabelSelectorRequirementProperty |
TypeScript | aws-cdk-lib » aws_resiliencehubv2 » CfnService » EksLabelSelectorRequirementProperty |
A single label selector requirement.
Specify Values when Operator is IN or NOT_IN, and omit Values when Operator is EXISTS or DOES_NOT_EXIST.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_resiliencehubv2 as resiliencehubv2 } from 'aws-cdk-lib';
const eksLabelSelectorRequirementProperty: resiliencehubv2.CfnService.EksLabelSelectorRequirementProperty = {
key: 'key',
operator: 'operator',
// the properties below are optional
values: ['values'],
};
Properties
| Name | Type | Description |
|---|---|---|
| key | string | Label key the requirement applies to. |
| operator | string | Operator applied to the label key. |
| values? | string[] | Label values the requirement compares against. |
key
Type:
string
Label key the requirement applies to.
operator
Type:
string
Operator applied to the label key.
values?
Type:
string[]
(optional)
Label values the requirement compares against.
Up to 20 values. Required for IN and NOT_IN; omit for EXISTS and DOES_NOT_EXIST.

.NET
Go
Java
Python
TypeScript