interface EksLabelSelectorRequirementProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.ResilienceHubV2.CfnServicePropsMixin.EksLabelSelectorRequirementProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsresiliencehubv2#CfnServicePropsMixin_EksLabelSelectorRequirementProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.resiliencehubv2.CfnServicePropsMixin.EksLabelSelectorRequirementProperty |
Python | aws_cdk.cfn_property_mixins.aws_resiliencehubv2.CfnServicePropsMixin.EksLabelSelectorRequirementProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_resiliencehubv2 » CfnServicePropsMixin » 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/cfn-property-mixins';
const eksLabelSelectorRequirementProperty: resiliencehubv2.CfnServicePropsMixin.EksLabelSelectorRequirementProperty = {
key: 'key',
operator: 'operator',
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
(optional)
Label key the requirement applies to.
operator?
Type:
string
(optional)
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