Interface CfnServicePropsMixin.EksSourceProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnServicePropsMixin.EksSourceProperty.Jsii$Proxy
- Enclosing class:
CfnServicePropsMixin
@Stability(Stable)
public static interface CfnServicePropsMixin.EksSourceProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.resiliencehubv2.*;
EksSourceProperty eksSourceProperty = EksSourceProperty.builder()
.clusterArn("clusterArn")
.labelSelector(EksLabelSelectorProperty.builder()
.matchExpressions(List.of(EksLabelSelectorRequirementProperty.builder()
.key("key")
.operator("operator")
.values(List.of("values"))
.build()))
.matchLabels(Map.of(
"matchLabelsKey", "matchLabels"))
.build())
.namespaces(List.of("namespaces"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnServicePropsMixin.EksSourcePropertystatic final classAn implementation forCfnServicePropsMixin.EksSourceProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getClusterArn
ARN of the EKS cluster.- See Also:
-
getLabelSelector
Kubernetes label selector that scopes discovery to matching objects in the specified namespaces.An object must satisfy both MatchLabels and MatchExpressions. Specify at least one of them; a selector carrying neither is treated as though no selector were supplied, and all supported objects in the specified namespaces are discovered.
Returns union: either
IResolvableorCfnServicePropsMixin.EksLabelSelectorProperty- See Also:
-
getNamespaces
EKS namespaces.- See Also:
-
builder
-