Interface ServiceAccountProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,ServiceAccountOptions
- All Known Implementing Classes:
ServiceAccountProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:46.665Z")
@Stability(Stable)
public interface ServiceAccountProps
extends software.amazon.jsii.JsiiSerializable, ServiceAccountOptions
Properties for defining service accounts.
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.*;
Cluster cluster;
ServiceAccountProps serviceAccountProps = ServiceAccountProps.builder()
.cluster(cluster)
// the properties below are optional
.annotations(Map.of(
"annotationsKey", "annotations"))
.labels(Map.of(
"labelsKey", "labels"))
.name("name")
.namespace("namespace")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forServiceAccountPropsstatic final classAn implementation forServiceAccountProps -
Method Summary
Modifier and TypeMethodDescriptionstatic ServiceAccountProps.Builderbuilder()The cluster to apply the patch to.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.eks.ServiceAccountOptions
getAnnotations, getLabels, getName, getNamespace
-
Method Details
-
getCluster
The cluster to apply the patch to. -
builder
- Returns:
- a
ServiceAccountProps.BuilderofServiceAccountProps
-