interface SelectorProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EKS.Mixins.CfnFargateProfilePropsMixin.SelectorProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awseks/mixins#CfnFargateProfilePropsMixin_SelectorProperty |
Java | software.amazon.awscdk.mixins.preview.services.eks.mixins.CfnFargateProfilePropsMixin.SelectorProperty |
Python | aws_cdk.mixins_preview.aws_eks.mixins.CfnFargateProfilePropsMixin.SelectorProperty |
TypeScript | @aws-cdk/mixins-preview » aws_eks » mixins » 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 { mixins as eks_mixins } from '@aws-cdk/mixins-preview/aws-eks';
const selectorProperty: eks_mixins.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