# Anthos Multi-Cloud V1 API - Class Google::Cloud::GkeMultiCloud::V1::CreateAwsClusterRequest (v0.21.0)

0.21.0 (latest) 0.20.1 0.19.0 0.18.0 0.17.1 0.16.0 0.15.0 0.14.1 0.13.0 0.12.0 0.11.0 0.10.1 0.9.0 0.8.2 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Anthos Multi-Cloud V1 API class Google::Cloud::GkeMultiCloud::V1::CreateAwsClusterRequest.

Request message for `AwsClusters.CreateAwsCluster` method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #aws_cluster

    def aws_cluster() -> ::Google::Cloud::GkeMultiCloud::V1::AwsCluster

**Returns**

- ([::Google::Cloud::GkeMultiCloud::V1::AwsCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Cloud-GkeMultiCloud-V1-AwsCluster)) --- Required. The specification of the [AwsCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Cloud-GkeMultiCloud-V1-AwsCluster "Google::Cloud::GkeMultiCloud::V1::AwsCluster (class)") to create.

### #aws_cluster=

    def aws_cluster=(value) -> ::Google::Cloud::GkeMultiCloud::V1::AwsCluster

**Parameter**

- **value** ([::Google::Cloud::GkeMultiCloud::V1::AwsCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Cloud-GkeMultiCloud-V1-AwsCluster)) --- Required. The specification of the [AwsCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Cloud-GkeMultiCloud-V1-AwsCluster "Google::Cloud::GkeMultiCloud::V1::AwsCluster (class)") to create.
**Returns**

- ([::Google::Cloud::GkeMultiCloud::V1::AwsCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Cloud-GkeMultiCloud-V1-AwsCluster)) --- Required. The specification of the [AwsCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Cloud-GkeMultiCloud-V1-AwsCluster "Google::Cloud::GkeMultiCloud::V1::AwsCluster (class)") to create.

### #aws_cluster_id

    def aws_cluster_id() -> ::String

**Returns**

- (::String) --- Required. A client provided ID the resource. Must be unique within the parent resource.

  The provided ID will be part of the
  [AwsCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Cloud-GkeMultiCloud-V1-AwsCluster "Google::Cloud::GkeMultiCloud::V1::AwsCluster (class)") resource name
  formatted as
  `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`.

  Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 63 characters.

### #aws_cluster_id=

    def aws_cluster_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. A client provided ID the resource. Must be unique within the parent resource.


  The provided ID will be part of the
  [AwsCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Cloud-GkeMultiCloud-V1-AwsCluster "Google::Cloud::GkeMultiCloud::V1::AwsCluster (class)") resource name
  formatted as
  `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`.

  Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 63 characters.
**Returns**

- (::String) --- Required. A client provided ID the resource. Must be unique within the parent resource.

  The provided ID will be part of the
  [AwsCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Cloud-GkeMultiCloud-V1-AwsCluster "Google::Cloud::GkeMultiCloud::V1::AwsCluster (class)") resource name
  formatted as
  `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`.

  Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 63 characters.

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. The parent location where this [AwsCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Cloud-GkeMultiCloud-V1-AwsCluster "Google::Cloud::GkeMultiCloud::V1::AwsCluster (class)") resource will be created.


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

  See [Resource Names](https://cloud.google.com/apis/design/resource_names)
  for more details on Google Cloud resource names.

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The parent location where this [AwsCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Cloud-GkeMultiCloud-V1-AwsCluster "Google::Cloud::GkeMultiCloud::V1::AwsCluster (class)") resource will be created.


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

  See [Resource Names](https://cloud.google.com/apis/design/resource_names)
  for more details on Google Cloud resource names.
**Returns**

- (::String) --- Required. The parent location where this [AwsCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Cloud-GkeMultiCloud-V1-AwsCluster "Google::Cloud::GkeMultiCloud::V1::AwsCluster (class)") resource will be created.


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

  See [Resource Names](https://cloud.google.com/apis/design/resource_names)
  for more details on Google Cloud resource names.

### #validate_only

    def validate_only() -> ::Boolean

**Returns**

- (::Boolean) --- If set, only validate the request, but do not actually create the cluster.

### #validate_only=

    def validate_only=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- If set, only validate the request, but do not actually create the cluster.
**Returns**

- (::Boolean) --- If set, only validate the request, but do not actually create the cluster.