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 class
A builder forServiceAccountProps
static final class
An implementation forServiceAccountProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic ServiceAccountProps.Builder
builder()
The cluster to apply the patch to.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods 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.Builder
ofServiceAccountProps
-