Viewing docs for AWS v6.83.1 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Viewing docs for AWS v6.83.1 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Data source for managing AWS EKS (Elastic Kubernetes) Cluster Versions.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.eks.getClusterVersions({});
import pulumi
import pulumi_aws as aws
example = aws.eks.get_cluster_versions()
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/eks"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := eks.GetClusterVersions(ctx, &eks.GetClusterVersionsArgs{}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = Aws.Eks.GetClusterVersions.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.eks.EksFunctions;
import com.pulumi.aws.eks.inputs.GetClusterVersionsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = EksFunctions.getClusterVersions(GetClusterVersionsArgs.builder()
.build());
}
}
variables:
example:
fn::invoke:
function: aws:eks:getClusterVersions
arguments: {}
Filter by Cluster Type
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.eks.getClusterVersions({
clusterType: "eks",
});
import pulumi
import pulumi_aws as aws
example = aws.eks.get_cluster_versions(cluster_type="eks")
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/eks"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := eks.GetClusterVersions(ctx, &eks.GetClusterVersionsArgs{
ClusterType: pulumi.StringRef("eks"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = Aws.Eks.GetClusterVersions.Invoke(new()
{
ClusterType = "eks",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.eks.EksFunctions;
import com.pulumi.aws.eks.inputs.GetClusterVersionsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = EksFunctions.getClusterVersions(GetClusterVersionsArgs.builder()
.clusterType("eks")
.build());
}
}
variables:
example:
fn::invoke:
function: aws:eks:getClusterVersions
arguments:
clusterType: eks
Filter by Version Status
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.eks.getClusterVersions({
versionStatus: "STANDARD_SUPPORT",
});
import pulumi
import pulumi_aws as aws
example = aws.eks.get_cluster_versions(version_status="STANDARD_SUPPORT")
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/eks"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := eks.GetClusterVersions(ctx, &eks.GetClusterVersionsArgs{
VersionStatus: pulumi.StringRef("STANDARD_SUPPORT"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = Aws.Eks.GetClusterVersions.Invoke(new()
{
VersionStatus = "STANDARD_SUPPORT",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.eks.EksFunctions;
import com.pulumi.aws.eks.inputs.GetClusterVersionsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = EksFunctions.getClusterVersions(GetClusterVersionsArgs.builder()
.versionStatus("STANDARD_SUPPORT")
.build());
}
}
variables:
example:
fn::invoke:
function: aws:eks:getClusterVersions
arguments:
versionStatus: STANDARD_SUPPORT
Using getClusterVersions
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 getClusterVersions(args: GetClusterVersionsArgs, opts?: InvokeOptions): Promise<GetClusterVersionsResult>
function getClusterVersionsOutput(args: GetClusterVersionsOutputArgs, opts?: InvokeOptions): Output<GetClusterVersionsResult>def get_cluster_versions(cluster_type: Optional[str] = None,
cluster_versions_onlies: Optional[Sequence[str]] = None,
default_only: Optional[bool] = None,
include_all: Optional[bool] = None,
version_status: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetClusterVersionsResult
def get_cluster_versions_output(cluster_type: Optional[pulumi.Input[str]] = None,
cluster_versions_onlies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
default_only: Optional[pulumi.Input[bool]] = None,
include_all: Optional[pulumi.Input[bool]] = None,
version_status: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetClusterVersionsResult]func GetClusterVersions(ctx *Context, args *GetClusterVersionsArgs, opts ...InvokeOption) (*GetClusterVersionsResult, error)
func GetClusterVersionsOutput(ctx *Context, args *GetClusterVersionsOutputArgs, opts ...InvokeOption) GetClusterVersionsResultOutput> Note: This function is named GetClusterVersions in the Go SDK.
public static class GetClusterVersions
{
public static Task<GetClusterVersionsResult> InvokeAsync(GetClusterVersionsArgs args, InvokeOptions? opts = null)
public static Output<GetClusterVersionsResult> Invoke(GetClusterVersionsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetClusterVersionsResult> getClusterVersions(GetClusterVersionsArgs args, InvokeOptions options)
public static Output<GetClusterVersionsResult> getClusterVersions(GetClusterVersionsArgs args, InvokeOptions options)
fn::invoke:
function: aws:eks/getClusterVersions:getClusterVersions
arguments:
# arguments dictionaryThe following arguments are supported:
- Cluster
Type string - Type of clusters to filter by.
Currently, the only valid value is
eks. - Cluster
Versions List<string>Onlies - Default
Only bool - Whether to show only the default versions of Kubernetes supported by EKS.
- Include
All bool - Whether to include all kubernetes versions in the response.
- Version
Status string - Status of the EKS cluster versions to list.
Valid values are
STANDARD_SUPPORTorUNSUPPORTEDorEXTENDED_SUPPORT.
- Cluster
Type string - Type of clusters to filter by.
Currently, the only valid value is
eks. - Cluster
Versions []stringOnlies - Default
Only bool - Whether to show only the default versions of Kubernetes supported by EKS.
- Include
All bool - Whether to include all kubernetes versions in the response.
- Version
Status string - Status of the EKS cluster versions to list.
Valid values are
STANDARD_SUPPORTorUNSUPPORTEDorEXTENDED_SUPPORT.
- cluster
Type String - Type of clusters to filter by.
Currently, the only valid value is
eks. - cluster
Versions List<String>Onlies - default
Only Boolean - Whether to show only the default versions of Kubernetes supported by EKS.
- include
All Boolean - Whether to include all kubernetes versions in the response.
- version
Status String - Status of the EKS cluster versions to list.
Valid values are
STANDARD_SUPPORTorUNSUPPORTEDorEXTENDED_SUPPORT.
- cluster
Type string - Type of clusters to filter by.
Currently, the only valid value is
eks. - cluster
Versions string[]Onlies - default
Only boolean - Whether to show only the default versions of Kubernetes supported by EKS.
- include
All boolean - Whether to include all kubernetes versions in the response.
- version
Status string - Status of the EKS cluster versions to list.
Valid values are
STANDARD_SUPPORTorUNSUPPORTEDorEXTENDED_SUPPORT.
- cluster_
type str - Type of clusters to filter by.
Currently, the only valid value is
eks. - cluster_
versions_ Sequence[str]onlies - default_
only bool - Whether to show only the default versions of Kubernetes supported by EKS.
- include_
all bool - Whether to include all kubernetes versions in the response.
- version_
status str - Status of the EKS cluster versions to list.
Valid values are
STANDARD_SUPPORTorUNSUPPORTEDorEXTENDED_SUPPORT.
- cluster
Type String - Type of clusters to filter by.
Currently, the only valid value is
eks. - cluster
Versions List<String>Onlies - default
Only Boolean - Whether to show only the default versions of Kubernetes supported by EKS.
- include
All Boolean - Whether to include all kubernetes versions in the response.
- version
Status String - Status of the EKS cluster versions to list.
Valid values are
STANDARD_SUPPORTorUNSUPPORTEDorEXTENDED_SUPPORT.
getClusterVersions Result
The following output properties are available:
- Cluster
Versions List<GetCluster Versions Cluster Version> - Id string
- The provider-assigned unique ID for this managed resource.
- Cluster
Type string - Type of cluster that the version belongs to.
- Cluster
Versions List<string>Onlies - Default
Only bool - Include
All bool - Version
Status string - Status of the EKS cluster version.
- Cluster
Versions []GetCluster Versions Cluster Version - Id string
- The provider-assigned unique ID for this managed resource.
- Cluster
Type string - Type of cluster that the version belongs to.
- Cluster
Versions []stringOnlies - Default
Only bool - Include
All bool - Version
Status string - Status of the EKS cluster version.
- cluster
Versions List<GetCluster Versions Cluster Version> - id String
- The provider-assigned unique ID for this managed resource.
- cluster
Type String - Type of cluster that the version belongs to.
- cluster
Versions List<String>Onlies - default
Only Boolean - include
All Boolean - version
Status String - Status of the EKS cluster version.
- cluster
Versions GetCluster Versions Cluster Version[] - id string
- The provider-assigned unique ID for this managed resource.
- cluster
Type string - Type of cluster that the version belongs to.
- cluster
Versions string[]Onlies - default
Only boolean - include
All boolean - version
Status string - Status of the EKS cluster version.
- cluster_
versions Sequence[GetCluster Versions Cluster Version] - id str
- The provider-assigned unique ID for this managed resource.
- cluster_
type str - Type of cluster that the version belongs to.
- cluster_
versions_ Sequence[str]onlies - default_
only bool - include_
all bool - version_
status str - Status of the EKS cluster version.
- cluster
Versions List<Property Map> - id String
- The provider-assigned unique ID for this managed resource.
- cluster
Type String - Type of cluster that the version belongs to.
- cluster
Versions List<String>Onlies - default
Only Boolean - include
All Boolean - version
Status String - Status of the EKS cluster version.
Supporting Types
GetClusterVersionsClusterVersion
- Cluster
Type string - Type of clusters to filter by.
Currently, the only valid value is
eks. - Cluster
Version string - Kubernetes version supported by EKS.
- Default
Platform stringVersion - Default eks platform version for the cluster version.
- Default
Version bool - Default Kubernetes version for the cluster version.
- End
Of stringExtended Support Date - End of extended support date for the cluster version.
- End
Of stringStandard Support Date - End of standard support date for the cluster version.
- Kubernetes
Patch stringVersion - Kubernetes patch version for the cluster version.
- Release
Date string - Release date of the cluster version.
- Version
Status string - Status of the EKS cluster versions to list.
Valid values are
STANDARD_SUPPORTorUNSUPPORTEDorEXTENDED_SUPPORT.
- Cluster
Type string - Type of clusters to filter by.
Currently, the only valid value is
eks. - Cluster
Version string - Kubernetes version supported by EKS.
- Default
Platform stringVersion - Default eks platform version for the cluster version.
- Default
Version bool - Default Kubernetes version for the cluster version.
- End
Of stringExtended Support Date - End of extended support date for the cluster version.
- End
Of stringStandard Support Date - End of standard support date for the cluster version.
- Kubernetes
Patch stringVersion - Kubernetes patch version for the cluster version.
- Release
Date string - Release date of the cluster version.
- Version
Status string - Status of the EKS cluster versions to list.
Valid values are
STANDARD_SUPPORTorUNSUPPORTEDorEXTENDED_SUPPORT.
- cluster
Type String - Type of clusters to filter by.
Currently, the only valid value is
eks. - cluster
Version String - Kubernetes version supported by EKS.
- default
Platform StringVersion - Default eks platform version for the cluster version.
- default
Version Boolean - Default Kubernetes version for the cluster version.
- end
Of StringExtended Support Date - End of extended support date for the cluster version.
- end
Of StringStandard Support Date - End of standard support date for the cluster version.
- kubernetes
Patch StringVersion - Kubernetes patch version for the cluster version.
- release
Date String - Release date of the cluster version.
- version
Status String - Status of the EKS cluster versions to list.
Valid values are
STANDARD_SUPPORTorUNSUPPORTEDorEXTENDED_SUPPORT.
- cluster
Type string - Type of clusters to filter by.
Currently, the only valid value is
eks. - cluster
Version string - Kubernetes version supported by EKS.
- default
Platform stringVersion - Default eks platform version for the cluster version.
- default
Version boolean - Default Kubernetes version for the cluster version.
- end
Of stringExtended Support Date - End of extended support date for the cluster version.
- end
Of stringStandard Support Date - End of standard support date for the cluster version.
- kubernetes
Patch stringVersion - Kubernetes patch version for the cluster version.
- release
Date string - Release date of the cluster version.
- version
Status string - Status of the EKS cluster versions to list.
Valid values are
STANDARD_SUPPORTorUNSUPPORTEDorEXTENDED_SUPPORT.
- cluster_
type str - Type of clusters to filter by.
Currently, the only valid value is
eks. - cluster_
version str - Kubernetes version supported by EKS.
- default_
platform_ strversion - Default eks platform version for the cluster version.
- default_
version bool - Default Kubernetes version for the cluster version.
- end_
of_ strextended_ support_ date - End of extended support date for the cluster version.
- end_
of_ strstandard_ support_ date - End of standard support date for the cluster version.
- kubernetes_
patch_ strversion - Kubernetes patch version for the cluster version.
- release_
date str - Release date of the cluster version.
- version_
status str - Status of the EKS cluster versions to list.
Valid values are
STANDARD_SUPPORTorUNSUPPORTEDorEXTENDED_SUPPORT.
- cluster
Type String - Type of clusters to filter by.
Currently, the only valid value is
eks. - cluster
Version String - Kubernetes version supported by EKS.
- default
Platform StringVersion - Default eks platform version for the cluster version.
- default
Version Boolean - Default Kubernetes version for the cluster version.
- end
Of StringExtended Support Date - End of extended support date for the cluster version.
- end
Of StringStandard Support Date - End of standard support date for the cluster version.
- kubernetes
Patch StringVersion - Kubernetes patch version for the cluster version.
- release
Date String - Release date of the cluster version.
- version
Status String - Status of the EKS cluster versions to list.
Valid values are
STANDARD_SUPPORTorUNSUPPORTEDorEXTENDED_SUPPORT.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
Viewing docs for AWS v6.83.1 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
