Interface CfnFargateProfile.ISelectorProperty
An object representing an AWS Fargate profile selector.
Namespace: Amazon.CDK.AWS.EKS.Legacy
Assembly: Amazon.CDK.AWS.EKS.Legacy.dll
Syntax (csharp)
public interface ISelectorProperty
Syntax (vb)
Public Interface ISelectorProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EKS.Legacy;
var selectorProperty = new SelectorProperty {
Namespace = "namespace",
// the properties below are optional
Labels = new [] { new LabelProperty {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
Labels | The Kubernetes labels that the selector should match. |
Namespace | The Kubernetes namespace that the selector should match. |
Properties
Labels
The Kubernetes labels that the selector should match.
virtual object Labels { get; }
Property Value
System.Object
Remarks
A pod must contain all of the labels that are specified in the selector for it to be considered a match.
Namespace
The Kubernetes namespace that the selector should match.
string Namespace { get; }
Property Value
System.String