# Anthos Multi-Cloud v1 API - Class CreateAwsNodePoolRequest (2.10.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.10.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.CreateAwsNodePoolRequest)
- [2.9.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.9.0/Google.Cloud.GkeMultiCloud.V1.CreateAwsNodePoolRequest)
- [2.8.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.8.0/Google.Cloud.GkeMultiCloud.V1.CreateAwsNodePoolRequest)
- [2.7.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.7.0/Google.Cloud.GkeMultiCloud.V1.CreateAwsNodePoolRequest)
- [2.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.6.0/Google.Cloud.GkeMultiCloud.V1.CreateAwsNodePoolRequest)
- [2.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.5.0/Google.Cloud.GkeMultiCloud.V1.CreateAwsNodePoolRequest)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.4.0/Google.Cloud.GkeMultiCloud.V1.CreateAwsNodePoolRequest)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.3.0/Google.Cloud.GkeMultiCloud.V1.CreateAwsNodePoolRequest)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.2.0/Google.Cloud.GkeMultiCloud.V1.CreateAwsNodePoolRequest)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.1.0/Google.Cloud.GkeMultiCloud.V1.CreateAwsNodePoolRequest)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.0.0/Google.Cloud.GkeMultiCloud.V1.CreateAwsNodePoolRequest)
- [1.0.0-beta01](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/1.0.0-beta01/Google.Cloud.GkeMultiCloud.V1.CreateAwsNodePoolRequest)

    [Obsolete]
    public sealed class CreateAwsNodePoolRequest : IMessage<CreateAwsNodePoolRequest>, IEquatable<CreateAwsNodePoolRequest>, IDeepCloneable<CreateAwsNodePoolRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Anthos Multi-Cloud v1 API class CreateAwsNodePoolRequest.

Response message for `AwsClusters.CreateAwsNodePool` method.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> CreateAwsNodePoolRequest

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateAwsNodePoolRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.CreateAwsNodePoolRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateAwsNodePoolRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.CreateAwsNodePoolRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateAwsNodePoolRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.CreateAwsNodePoolRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.GkeMultiCloud.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1)

## Assembly

Google.Cloud.GkeMultiCloud.V1.dll

## Constructors

### CreateAwsNodePoolRequest()

    public CreateAwsNodePoolRequest()

### CreateAwsNodePoolRequest(CreateAwsNodePoolRequest)

    public CreateAwsNodePoolRequest(CreateAwsNodePoolRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.CreateAwsNodePoolRequest` |

## Properties

### AwsNodePool

    [Obsolete]
    public AwsNodePool AwsNodePool { get; set; }

Required. The specification of the
\[AwsNodePool\]\[google.cloud.gkemulticloud.v1.AwsNodePool\] to create.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.AwsNodePool` |   |

### AwsNodePoolId

    public string AwsNodePoolId { get; set; }

Required. A client provided ID the resource. Must be unique within the
parent resource.

The provided ID will be part of the
\[AwsNodePool\]\[google.cloud.gkemulticloud.v1.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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Parent

    public string Parent { get; set; }

Required. The \[AwsCluster\]\[google.cloud.gkemulticloud.v1.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](https://cloud.google.com/apis/design/resource_names)
for more details on Google Cloud resource names.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ParentAsAwsClusterName

    [Obsolete]
    public AwsClusterName ParentAsAwsClusterName { get; set; }

[AwsClusterName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.AwsClusterName)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.CreateAwsNodePoolRequest#Google_Cloud_GkeMultiCloud_V1_CreateAwsNodePoolRequest_Parent) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.AwsClusterName` |   |

### ValidateOnly

    public bool ValidateOnly { get; set; }

If set, only validate the request, but do not actually create the node
pool.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |