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();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnFargateProfile.SelectorProperty
static final class
An implementation forCfnFargateProfile.SelectorProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNamespace
The Kubernetesnamespace
that the selector should match.- See Also:
-
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.
- See Also:
-
builder
-