Class Mapping
Inheritance
System.Object
Mapping
Implements
Namespace: Amazon.CDK.AWS.EKS.Legacy
Assembly: Amazon.CDK.AWS.EKS.Legacy.dll
Syntax (csharp)
public class Mapping : Object, IMapping
Syntax (vb)
Public Class Mapping
Inherits Object
Implements IMapping
Remarks
Stability: Deprecated
ExampleMetadata: infused
Examples
Cluster cluster;
var adminUser = new User(this, "Admin");
cluster.AwsAuth.AddUserMapping(adminUser, new Mapping { Groups = new [] { "system:masters" } });
Synopsis
Constructors
Mapping() |
Properties
Groups | (deprecated) A list of groups within Kubernetes to which the role is mapped. |
Username | (deprecated) The user name within Kubernetes to map to the IAM role. |
Constructors
Mapping()
public Mapping()
Properties
Groups
(deprecated) A list of groups within Kubernetes to which the role is mapped.
public string[] Groups { get; set; }
Property Value
System.String[]
Remarks
Stability: Deprecated
See: https://kubernetes.io/docs/reference/access-authn-authz/rbac/#default-roles-and-role-bindings
Username
(deprecated) The user name within Kubernetes to map to the IAM role.
public string Username { get; set; }
Property Value
System.String
Remarks
Default: - By default, the user name is the ARN of the IAM role.
Stability: Deprecated