interface SelectorProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.EKS.CfnFargateProfile.SelectorProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awseks#CfnFargateProfile_SelectorProperty |
Java | software.amazon.awscdk.services.eks.CfnFargateProfile.SelectorProperty |
Python | aws_cdk.aws_eks.CfnFargateProfile.SelectorProperty |
TypeScript | aws-cdk-lib » aws_eks » CfnFargateProfile » 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-lib';
const selectorProperty: eks.CfnFargateProfile.SelectorProperty = {
namespace: 'namespace',
// the properties below are optional
labels: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| namespace | string | The Kubernetes namespace that the selector should match. |
| labels? | IResolvable | (IResolvable | Label)[] | The Kubernetes labels that the selector should match. |
namespace
Type:
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.

.NET
Go
Java
Python
TypeScript