Interface AwsAuthMapping
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AwsAuthMapping.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:46.487Z")
@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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAwsAuthMappingstatic final classAn implementation forAwsAuthMapping -
Method Summary
Modifier and TypeMethodDescriptionstatic AwsAuthMapping.Builderbuilder()A list of groups within Kubernetes to which the role is mapped.default StringThe 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. -
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.BuilderofAwsAuthMapping
-