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


fun main() { 
   //sampleStart 
   // This example command lists all of your available clusters in your default region.
val resp = eksClient.listClusters() 
   //sampleEnd
}