Interface Mapping
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
Mapping.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:46.785Z")
@Stability(Deprecated)
@Deprecated
public interface Mapping
extends software.amazon.jsii.JsiiSerializable
Deprecated.
Example:
Cluster cluster; User adminUser = new User(this, "Admin"); cluster.awsAuth.addUserMapping(adminUser, Mapping.builder().groups(List.of("system:masters")).build());
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
Deprecated.static final class
Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic Mapping.Builder
builder()
Deprecated.Deprecated.default String
Deprecated.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getGroups
Deprecated.(deprecated) A list of groups within Kubernetes to which the role is mapped.- See Also:
-
getUsername
Deprecated.(deprecated) 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
Deprecated.- Returns:
- a
Mapping.Builder
ofMapping
-