listClusters

abstract suspend fun listClusters(input: ListClustersRequest = ListClustersRequest { }): ListClustersResponse

Lists the Amazon EKS clusters in your Amazon Web Services account in the specified Amazon Web Services Region.

Samples

// This example command lists all of your available clusters in your default region.
val resp = eksClient.listClusters()