AWS Classic

Pulumi Official
Package maintained by Pulumi
v5.10.0 published on Monday, Jul 11, 2022 by Pulumi

getNodeGroups

Retrieve the EKS Node Groups associated with a named EKS cluster. This will allow you to pass a list of Node Group names to other resources.

Using getNodeGroups

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 getNodeGroups(args: GetNodeGroupsArgs, opts?: InvokeOptions): Promise<GetNodeGroupsResult>
function getNodeGroupsOutput(args: GetNodeGroupsOutputArgs, opts?: InvokeOptions): Output<GetNodeGroupsResult>
def get_node_groups(cluster_name: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetNodeGroupsResult
def get_node_groups_output(cluster_name: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetNodeGroupsResult]
func GetNodeGroups(ctx *Context, args *GetNodeGroupsArgs, opts ...InvokeOption) (*GetNodeGroupsResult, error)
func GetNodeGroupsOutput(ctx *Context, args *GetNodeGroupsOutputArgs, opts ...InvokeOption) GetNodeGroupsResultOutput

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

public static class GetNodeGroups 
{
    public static Task<GetNodeGroupsResult> InvokeAsync(GetNodeGroupsArgs args, InvokeOptions? opts = null)
    public static Output<GetNodeGroupsResult> Invoke(GetNodeGroupsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNodeGroupsResult> getNodeGroups(GetNodeGroupsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: aws:eks/getNodeGroups:getNodeGroups
  Arguments:
    # Arguments dictionary

The following arguments are supported:

ClusterName string

The name of the cluster.

ClusterName string

The name of the cluster.

clusterName String

The name of the cluster.

clusterName string

The name of the cluster.

cluster_name str

The name of the cluster.

clusterName String

The name of the cluster.

getNodeGroups Result

The following output properties are available:

ClusterName string
Id string

The provider-assigned unique ID for this managed resource.

Names List<string>

A set of all node group names in an EKS Cluster.

ClusterName string
Id string

The provider-assigned unique ID for this managed resource.

Names []string

A set of all node group names in an EKS Cluster.

clusterName String
id String

The provider-assigned unique ID for this managed resource.

names List<String>

A set of all node group names in an EKS Cluster.

clusterName string
id string

The provider-assigned unique ID for this managed resource.

names string[]

A set of all node group names in an EKS Cluster.

cluster_name str
id str

The provider-assigned unique ID for this managed resource.

names Sequence[str]

A set of all node group names in an EKS Cluster.

clusterName String
id String

The provider-assigned unique ID for this managed resource.

names List<String>

A set of all node group names in an EKS Cluster.

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes

This Pulumi package is based on the aws Terraform Provider.