Class CfnFargateProfile.SelectorProperty
An object representing an AWS Fargate profile selector.
Inheritance
System.Object
CfnFargateProfile.SelectorProperty
Implements
Namespace: Amazon.CDK.AWS.EKS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SelectorProperty : Object, CfnFargateProfile.ISelectorProperty
Syntax (vb)
Public Class SelectorProperty
Inherits Object
Implements CfnFargateProfile.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;
var selectorProperty = new SelectorProperty {
Namespace = "namespace",
// the properties below are optional
Labels = new [] { new LabelProperty {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
SelectorProperty() |
Properties
Labels | The Kubernetes labels that the selector should match. |
Namespace | The Kubernetes |
Constructors
SelectorProperty()
public SelectorProperty()
Properties
Labels
The Kubernetes labels that the selector should match.
public object Labels { get; set; }
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.
public string Namespace { get; set; }
Property Value
System.String