Interface IMapping
Namespace: Amazon.CDK.AWS.EKS.Legacy
Assembly: Amazon.CDK.AWS.EKS.Legacy.dll
Syntax (csharp)
public interface IMapping
Syntax (vb)
Public Interface 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
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. |
Properties
Groups
(deprecated) A list of groups within Kubernetes to which the role is mapped.
string[] Groups { get; }
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.
virtual string Username { get; }
Property Value
System.String
Remarks
Default: - By default, the user name is the ARN of the IAM role.
Stability: Deprecated