Revoking access from Kubernetes cluster after some time period

In Kubernetes cluster, Is there a way to revoke access to cluster after some time period for a user who has gained access using kubeconfig?

Cluster information: EKS

Kubernetes version: 1.15
Cloud being used: EKS (AWS)

I’m not completely sure, but I think EKS is integrated with AWS IAM. Wouldn’t that work to revoke?

What is missing is the last time a user accessed the cluster? Or what parts do you currently have of the information you need?