aws.eks.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:
- Cluster
Name string Name of the cluster.
- Cluster
Name string Name of the cluster.
- cluster
Name String Name of the cluster.
- cluster
Name string Name of the cluster.
- cluster_
name str Name of the cluster.
- cluster
Name String Name of the cluster.
getNodeGroups Result
The following output properties are available:
- Cluster
Name string - Id string
The provider-assigned unique ID for this managed resource.
- Names List<string>
Set of all node group names in an EKS Cluster.
- Cluster
Name string - Id string
The provider-assigned unique ID for this managed resource.
- Names []string
Set of all node group names in an EKS Cluster.
- cluster
Name String - id String
The provider-assigned unique ID for this managed resource.
- names List<String>
Set of all node group names in an EKS Cluster.
- cluster
Name string - id string
The provider-assigned unique ID for this managed resource.
- names string[]
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]
Set of all node group names in an EKS Cluster.
- cluster
Name String - id String
The provider-assigned unique ID for this managed resource.
- names List<String>
Set of all node group names in an EKS Cluster.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
aws
Terraform Provider.