Module Values.AccessEntrySource

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

Sourcetype nonrec t = {
  1. clusterName : String_.t option;
    (*

    The name of your cluster.

    *)
  2. principalArn : String_.t option;
    (*

    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.

    *)
  3. kubernetesGroups : StringList.t option;
    (*

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

    *)
  4. accessEntryArn : String_.t option;
    (*

    The ARN of the access entry.

    *)
  5. createdAt : Timestamp.t option;
    (*

    The Unix epoch timestamp at object creation.

    *)
  6. modifiedAt : Timestamp.t option;
    (*

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

    *)
  7. tags : TagMap.t option;
    (*

    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.

    *)
  8. username : String_.t option;
    (*

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

    *)
  9. type_ : String_.t option;
    (*

    The type of the access entry.

    *)
}
Sourceval make : ?clusterName:??? -> ?principalArn:??? -> ?kubernetesGroups:??? -> ?accessEntryArn:??? -> ?createdAt:??? -> ?modifiedAt:??? -> ?tags:??? -> ?username:??? -> ?type_:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of String_.t ] list | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of String_.t | `Timestamp of Timestamp.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t