Interface AwsAuthMapping
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AwsAuthMapping.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:01.381Z")
@Stability(Stable)
public interface AwsAuthMapping
extends software.amazon.jsii.JsiiSerializable
AwsAuth mapping.
Example:
Cluster cluster; User adminUser = new User(this, "Admin"); cluster.awsAuth.addUserMapping(adminUser, AwsAuthMapping.builder().groups(List.of("system:masters")).build());
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forAwsAuthMapping
static final class
An implementation forAwsAuthMapping
-
Method Summary
Modifier and TypeMethodDescriptionstatic AwsAuthMapping.Builder
builder()
A list of groups within Kubernetes to which the role is mapped.default String
The user name within Kubernetes to map to the IAM role.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getGroups
A list of groups within Kubernetes to which the role is mapped.- See Also:
-
getUsername
The user name within Kubernetes to map to the IAM role.Default: - By default, the user name is the ARN of the IAM role.
-
builder
- Returns:
- a
AwsAuthMapping.Builder
ofAwsAuthMapping
-