Required. The AwsCluster resource where this node pool will be created.
AwsCluster names are formatted as projects/<project-id>/locations/<region>/awsClusters/<cluster-id>.
See Resource Names for more details on Google Cloud resource names.
Query parameters
Parameters
awsNodePoolId
string
Required. A client provided ID the resource. Must be unique within the parent resource.
The provided ID will be part of the AwsNodePool resource name formatted as projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>.
Valid characters are /[a-z][0-9]-/. Cannot be longer than 63 characters.
validateOnly
boolean
If set, only validate the request, but do not actually create the node pool.
Request body
The request body contains an instance of AwsNodePool.
Response body
If successful, the response body contains a newly created instance of Operation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-17 UTC."],[],[],null,["# Method: projects.locations.awsClusters.awsNodePools.create\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n\n| GKE-on-AWS is deprecated. See \u003chttps://cloud.google.com/kubernetes-engine/multi-cloud/docs/aws/deprecations/deprecation-announcement\u003e for more details.\nCreates a new [AwsNodePool](/kubernetes-engine/multi-cloud/docs/reference/rest/v1/projects.locations.awsClusters.awsNodePools#AwsNodePool), attached to a given [AwsCluster](/kubernetes-engine/multi-cloud/docs/reference/rest/v1/projects.locations.awsClusters#AwsCluster).\n\nIf successful, the response contains a newly created [Operation](/kubernetes-engine/multi-cloud/docs/reference/rest/v1/projects.locations.operations#Operation) resource that can be described to track the status of the operation.\n\n### HTTP request\n\n`POST https://{endpoint}/v1/{parent=projects/*/locations/*/awsClusters/*}/awsNodePools`\n\nWhere `{endpoint}` is one of the [supported service endpoints](/kubernetes-engine/multi-cloud/docs/reference/rest#rest_endpoints).\n\nThe URLs use [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body contains an instance of [AwsNodePool](/kubernetes-engine/multi-cloud/docs/reference/rest/v1/projects.locations.awsClusters.awsNodePools#AwsNodePool).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [Operation](/kubernetes-engine/multi-cloud/docs/reference/rest/v1/projects.locations.operations#Operation).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp).\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `parent` resource:\n\n- `gkemulticloud.awsNodePools.create`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]