1. Packages
  2. AWS
  3. API Docs
  4. eks
  5. getClusters
AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi

aws.eks.getClusters

Explore with Pulumi AI

aws logo
AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi

    Retrieve EKS Clusters list

    Using getClusters

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

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

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

    public static class GetClusters 
    {
        public static Task<GetClustersResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetClustersResult> Invoke(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.
    aws logo
    AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi