Package org.cdk8s.plus24
Interface ServiceAccountProps
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,ResourceProps
- All Known Implementing Classes:
ServiceAccountProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.79.0 (build b22f628)", date="2023-03-31T02:28:41.689Z") @Stability(Stable) public interface ServiceAccountProps extends software.amazon.jsii.JsiiSerializable, ResourceProps
Properties for initialization of `ServiceAccount`.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ServiceAccountProps.Builder
A builder forServiceAccountProps
static class
ServiceAccountProps.Jsii$Proxy
An implementation forServiceAccountProps
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ServiceAccountProps.Builder
builder()
default Boolean
getAutomountToken()
Indicates whether pods running as this service account should have an API token automatically mounted.default List<ISecret>
getSecrets()
List of secrets allowed to be used by pods running using this ServiceAccount.-
Methods inherited from interface org.cdk8s.plus24.ResourceProps
getMetadata
-
-
-
-
Method Detail
-
getAutomountToken
@Stability(Stable) @Nullable default Boolean getAutomountToken()
Indicates whether pods running as this service account should have an API token automatically mounted.Can be overridden at the pod level.
Default: false
-
getSecrets
@Stability(Stable) @Nullable default List<ISecret> getSecrets()
List of secrets allowed to be used by pods running using this ServiceAccount.
-
builder
@Stability(Stable) static ServiceAccountProps.Builder builder()
- Returns:
- a
ServiceAccountProps.Builder
ofServiceAccountProps
-
-