Class AwsAuthMapping
AwsAuth mapping.
Inheritance
System.Object
AwsAuthMapping
Implements
Namespace: Amazon.CDK.AWS.EKS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AwsAuthMapping : Object, IAwsAuthMapping
Syntax (vb)
Public Class AwsAuthMapping
Inherits Object
Implements IAwsAuthMapping
Remarks
ExampleMetadata: infused
Examples
Cluster cluster;
var adminUser = new User(this, "Admin");
cluster.AwsAuth.AddUserMapping(adminUser, new AwsAuthMapping { Groups = new [] { "system:masters" } });
Synopsis
Constructors
AwsAuthMapping() |
Properties
Groups | A list of groups within Kubernetes to which the role is mapped. |
Username | The user name within Kubernetes to map to the IAM role. |
Constructors
AwsAuthMapping()
public AwsAuthMapping()
Properties
Groups
A list of groups within Kubernetes to which the role is mapped.
public string[] Groups { get; set; }
Property Value
System.String[]
Remarks
Username
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.