interface SelectorProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.EKS.CfnFargateProfilePropsMixin.SelectorProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awseks#CfnFargateProfilePropsMixin_SelectorProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.eks.CfnFargateProfilePropsMixin.SelectorProperty |
Python | aws_cdk.cfn_property_mixins.aws_eks.CfnFargateProfilePropsMixin.SelectorProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_eks » CfnFargateProfilePropsMixin » SelectorProperty |
An object representing an AWS Fargate profile selector.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_eks as eks } from '@aws-cdk/cfn-property-mixins';
const selectorProperty: eks.CfnFargateProfilePropsMixin.SelectorProperty = {
labels: [{
key: 'key',
value: 'value',
}],
namespace: 'namespace',
};
Properties
| Name | Type | Description |
|---|---|---|
| labels? | IResolvable | (IResolvable | Label)[] | The Kubernetes labels that the selector should match. |
| namespace? | string | The Kubernetes namespace that the selector should match. |
labels?
Type:
IResolvable | (IResolvable | Label)[]
(optional)
The Kubernetes labels that the selector should match.
A pod must contain all of the labels that are specified in the selector for it to be considered a match.
namespace?
Type:
string
(optional)
The Kubernetes namespace that the selector should match.

.NET
Go
Java
Python
TypeScript