Package org.cdk8s.plus23
Interface ServiceAccountProps
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,ResourceProps
- All Known Implementing Classes:
ServiceAccountProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.61.0 (build abf4039)", date="2022-07-06T20:17:23.702Z") @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 classServiceAccountProps.BuilderA builder forServiceAccountPropsstatic classServiceAccountProps.Jsii$ProxyAn implementation forServiceAccountProps
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ServiceAccountProps.Builderbuilder()default BooleangetAutomountToken()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.plus23.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: true
-
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.BuilderofServiceAccountProps
-
-