interface AwsAuthMapping
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.EKS.AwsAuthMapping | 
|  Java | software.amazon.awscdk.services.eks.AwsAuthMapping | 
|  Python | aws_cdk.aws_eks.AwsAuthMapping | 
|  TypeScript (source) | @aws-cdk/aws-eks»AwsAuthMapping | 
AwsAuth mapping.
Example
declare const cluster: eks.Cluster;
const adminUser = new iam.User(this, 'Admin');
cluster.awsAuth.addUserMapping(adminUser, { groups: [ 'system:masters' ]});
Properties
| Name | Type | Description | 
|---|---|---|
| groups | string[] | A list of groups within Kubernetes to which the role is mapped. | 
| username? | string | The user name within Kubernetes to map to the IAM role. | 
groups
Type:
string[]
A list of groups within Kubernetes to which the role is mapped.
See also: https://kubernetes.io/docs/reference/access-authn-authz/rbac/#default-roles-and-role-bindings
username?
Type:
string
(optional, default: By default, the user name is the ARN of the IAM role.)
The user name within Kubernetes to map to the IAM role.
