Method: projects.locations.awsClusters.awsNodePools.create

Creates a new AwsNodePool, attached to a given AwsCluster.

If successful, the response contains a newly created Operation resource that can be described to track the status of the operation.

HTTP request

POST https://{endpoint}/v1/{parent=projects/*/locations/*/awsClusters/*}/awsNodePools

Where {endpoint} is one of the supported service endpoints.

The URLs use gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The AwsCluster resource where this node pool will be created.

Location names are formatted as projects/<project-id>/locations/<region>.

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 40 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.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • gkemulticloud.awsNodePools.create

For more information, see the IAM documentation.