AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

An access entry allows an IAM principal (user or role) to access your cluster. Access entries can replace the need to maintain the aws-authConfigMap for authentication. For more information about access entries, see Access entries in the Amazon EKS User Guide.

Inheritance Hierarchy

System.Object
  Amazon.EKS.Model.AccessEntry

Namespace: Amazon.EKS.Model
Assembly: AWSSDK.EKS.dll
Version: 3.x.y.z

Syntax

C#
public class AccessEntry

The AccessEntry type exposes the following members

Constructors

NameDescription
Public Method AccessEntry()

Properties

NameTypeDescription
Public Property AccessEntryArn System.String

Gets and sets the property AccessEntryArn.

The ARN of the access entry.

Public Property ClusterName System.String

Gets and sets the property ClusterName.

The name of your cluster.

Public Property CreatedAt System.DateTime

Gets and sets the property CreatedAt.

The Unix epoch timestamp at object creation.

Public Property KubernetesGroups System.Collections.Generic.List<System.String>

Gets and sets the property KubernetesGroups.

A name that you've specified in a Kubernetes RoleBinding or ClusterRoleBinding object so that Kubernetes authorizes the principalARN access to cluster objects.

Public Property ModifiedAt System.DateTime

Gets and sets the property ModifiedAt.

The Unix epoch timestamp for the last modification to the object.

Public Property PrincipalArn System.String

Gets and sets the property PrincipalArn.

The ARN of the IAM principal for the access entry. If you ever delete the IAM principal with this ARN, the access entry isn't automatically deleted. We recommend that you delete the access entry with an ARN for an IAM principal that you delete. If you don't delete the access entry and ever recreate the IAM principal, even if it has the same ARN, the access entry won't work. This is because even though the ARN is the same for the recreated IAM principal, the roleID or userID (you can see this with the Security Token Service GetCallerIdentity API) is different for the recreated IAM principal than it was for the original IAM principal. Even though you don't see the IAM principal's roleID or userID for an access entry, Amazon EKS stores it with the access entry.

Public Property Tags System.Collections.Generic.Dictionary<System.String, System.String>

Gets and sets the property Tags.

Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.

Public Property Type System.String

Gets and sets the property Type.

The type of the access entry.

Public Property Username System.String

Gets and sets the property Username.

The name of a user that can authenticate to your cluster.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5