@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.961Z") @Stability(value=Stable) public interface ServiceAccountProps extends software.amazon.jsii.JsiiSerializable, ServiceAccountOptions
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
ServiceAccountProps.Builder
A builder for
ServiceAccountProps |
static class |
ServiceAccountProps.Jsii$Proxy
An implementation for
ServiceAccountProps |
| Modifier and Type | Method and Description |
|---|---|
static ServiceAccountProps.Builder |
builder() |
ICluster |
getCluster()
The cluster to apply the patch to.
|
getAnnotations, getLabels, getName, getNamespace@Stability(value=Stable) @NotNull ICluster getCluster()
@Stability(value=Stable) static ServiceAccountProps.Builder builder()
builder in interface ServiceAccountOptionsServiceAccountProps.Builder of ServiceAccountPropsCopyright © 2022. All rights reserved.