Interface ServiceAccountProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable, ServiceAccountOptions
All Known Implementing Classes:
ServiceAccountProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.126.0 (build 206d44b)", date="2026-02-23T18:58:18.955Z") @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.*;
 import software.amazon.awscdk.services.eks_v2.*;
 Cluster cluster;
 ServiceAccountProps serviceAccountProps = ServiceAccountProps.builder()
         .cluster(cluster)
         // the properties below are optional
         .annotations(Map.of(
                 "annotationsKey", "annotations"))
         .identityType(IdentityType.IRSA)
         .labels(Map.of(
                 "labelsKey", "labels"))
         .name("name")
         .namespace("namespace")
         .overwriteServiceAccount(false)
         .removalPolicy(RemovalPolicy.DESTROY)
         .build();