Interface CfnFargateProfile.SelectorProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFargateProfile.SelectorProperty.Jsii$Proxy
- Enclosing class:
- CfnFargateProfile
@Stability(Stable)
public static interface CfnFargateProfile.SelectorProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.eks.*;
SelectorProperty selectorProperty = SelectorProperty.builder()
.namespace("namespace")
// the properties below are optional
.labels(List.of(LabelProperty.builder()
.key("key")
.value("value")
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnFargateProfile.SelectorPropertystatic final classAn implementation forCfnFargateProfile.SelectorProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNamespace
The Kubernetes namespace that the selector should match. -
getLabels
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.
-
builder
-