@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.894Z") @Stability(value=Stable) public interface AwsAuthMapping extends software.amazon.jsii.JsiiSerializable
Example:
Cluster cluster;
User adminUser = new User(this, "Admin");
cluster.awsAuth.addUserMapping(adminUser, AwsAuthMapping.builder().groups(List.of("system:masters")).build());
| Modifier and Type | Interface and Description |
|---|---|
static class |
AwsAuthMapping.Builder
A builder for
AwsAuthMapping |
static class |
AwsAuthMapping.Jsii$Proxy
An implementation for
AwsAuthMapping |
| Modifier and Type | Method and Description |
|---|---|
static AwsAuthMapping.Builder |
builder() |
List<String> |
getGroups()
A list of groups within Kubernetes to which the role is mapped.
|
default String |
getUsername()
The user name within Kubernetes to map to the IAM role.
|
@Stability(value=Stable) @NotNull List<String> getGroups()
@Stability(value=Stable) @Nullable default String getUsername()
Default: - By default, the user name is the ARN of the IAM role.
@Stability(value=Stable) static AwsAuthMapping.Builder builder()
AwsAuthMapping.Builder of AwsAuthMappingCopyright © 2022. All rights reserved.