aws logo
AWS Classic v5.41.0, May 15 23

aws.eks.getClusters

Explore with Pulumi AI

Retrieve EKS Clusters list

Using getClusters

function getClusters(opts?: InvokeOptions): Promise<GetClustersResult>
def get_clusters(opts: Optional[InvokeOptions] = None) -> GetClustersResult
func GetClusters(ctx *Context, opts ...InvokeOption) (*GetClustersResult, error)

> Note: This function is named GetClusters in the Go SDK.

public static class GetClusters 
{
    public static Task<GetClustersResult> InvokeAsync(InvokeOptions? opts = null)
}
public static CompletableFuture<GetClustersResult> getClusters(InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: aws:eks/getClusters:getClusters
  arguments:
    # arguments dictionary

getClusters Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

Names List<string>

Set of EKS clusters names

Id string

The provider-assigned unique ID for this managed resource.

Names []string

Set of EKS clusters names

id String

The provider-assigned unique ID for this managed resource.

names List<String>

Set of EKS clusters names

id string

The provider-assigned unique ID for this managed resource.

names string[]

Set of EKS clusters names

id str

The provider-assigned unique ID for this managed resource.

names Sequence[str]

Set of EKS clusters names

id String

The provider-assigned unique ID for this managed resource.

names List<String>

Set of EKS clusters names

Package Details

Repository
AWS Classic pulumi/pulumi-aws
License
Apache-2.0
Notes

This Pulumi package is based on the aws Terraform Provider.