@Generated(value="jsii-pacmak/1.57.0 (build f614666)", date="2022-04-22T22:36:22.053Z") @Stability(value=Stable) public interface ServiceAccountOptions extends software.amazon.jsii.JsiiSerializable
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.*;
ServiceAccountOptions serviceAccountOptions = ServiceAccountOptions.builder()
.name("name")
.namespace("namespace")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
ServiceAccountOptions.Builder
A builder for
ServiceAccountOptions |
static class |
ServiceAccountOptions.Jsii$Proxy
An implementation for
ServiceAccountOptions |
| Modifier and Type | Method and Description |
|---|---|
static ServiceAccountOptions.Builder |
builder() |
default String |
getName()
The name of the service account.
|
default String |
getNamespace()
The namespace of the service account.
|
@Stability(value=Stable) @Nullable default String getName()
The name of a ServiceAccount object must be a valid DNS subdomain name. https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
Default: - If no name is given, it will use the id of the resource.
@Stability(value=Stable) @Nullable default String getNamespace()
All namespace names must be valid RFC 1123 DNS labels. https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/#namespaces-and-dns
Default: "default"
@Stability(value=Stable) static ServiceAccountOptions.Builder builder()
ServiceAccountOptions.Builder of ServiceAccountOptionsCopyright © 2022. All rights reserved.