get Node Group
Retrieve information about an EKS Node Group.
Example Usage
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.GetNodeGroupArgs;
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.getNodeGroup(GetNodeGroupArgs.builder()
.clusterName("example")
.nodeGroupName("example")
.build());
}
}
Content copied to clipboard
Return
A collection of values returned by getNodeGroup.
Parameters
argument
A collection of arguments for invoking getNodeGroup.
suspend fun getNodeGroup(clusterName: String, nodeGroupName: String, tags: Map<String, String>? = null): GetNodeGroupResult
Return
A collection of values returned by getNodeGroup.
Parameters
cluster Name
Name of the cluster.
node Group Name
Name of the node group.
tags
Key-value map of resource tags.
See also
suspend fun getNodeGroup(argument: suspend GetNodeGroupPlainArgsBuilder.() -> Unit): GetNodeGroupResult
Return
A collection of values returned by getNodeGroup.
Parameters
argument
Builder for com.pulumi.aws.eks.kotlin.inputs.GetNodeGroupPlainArgs.