Anthos clusters on AWS run on a single VPC. This includes control
plane replicas and node pool nodes.
Generated from protobuf messagegoogle.cloud.gkemulticloud.v1.AwsClusterNetworking
Namespace
Google \ Cloud \ GkeMultiCloud \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ vpc_id
string
Required. The VPC associated with the cluster. All component clusters (i.e. control plane and node pools) run on a single VPC. This field cannot be changed after creation.
↳ pod_address_cidr_blocks
array
Required. All pods in the cluster are assigned an IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creation.
↳ service_address_cidr_blocks
array
Required. All services in the cluster are assigned an IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creation.
↳ per_node_pool_sg_rules_disabled
bool
Optional. Disable the per node pool subnet security group rules on the control plane security group. When set to true, you must also provide one or more security groups that ensure node pools are able to send requests to the control plane on TCP/443 and TCP/8132. Failure to do so may result in unavailable node pools.
getVpcId
Required. The VPC associated with the cluster. All component clusters
(i.e. control plane and node pools) run on a single VPC.
This field cannot be changed after creation.
Returns
Type
Description
string
setVpcId
Required. The VPC associated with the cluster. All component clusters
(i.e. control plane and node pools) run on a single VPC.
This field cannot be changed after creation.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getPodAddressCidrBlocks
Required. All pods in the cluster are assigned an IPv4 address from these
ranges. Only a single range is supported. This field cannot be changed
after creation.
Required. All pods in the cluster are assigned an IPv4 address from these
ranges. Only a single range is supported. This field cannot be changed
after creation.
Parameter
Name
Description
var
string[]
Returns
Type
Description
$this
getServiceAddressCidrBlocks
Required. All services in the cluster are assigned an IPv4 address from
these ranges. Only a single range is supported. This field cannot be
changed after creation.
Required. All services in the cluster are assigned an IPv4 address from
these ranges. Only a single range is supported. This field cannot be
changed after creation.
Parameter
Name
Description
var
string[]
Returns
Type
Description
$this
getPerNodePoolSgRulesDisabled
Optional. Disable the per node pool subnet security group rules on the
control plane security group. When set to true, you must also provide one
or more security groups that ensure node pools are able to send requests to
the control plane on TCP/443 and TCP/8132. Failure to do so may result in
unavailable node pools.
Returns
Type
Description
bool
setPerNodePoolSgRulesDisabled
Optional. Disable the per node pool subnet security group rules on the
control plane security group. When set to true, you must also provide one
or more security groups that ensure node pools are able to send requests to
the control plane on TCP/443 and TCP/8132. Failure to do so may result in
unavailable node pools.
[[["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-09-04 UTC."],[],[],null,["# Google Anthos Multi Cloud V1 Client - Class AwsClusterNetworking (1.2.2)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.2 (latest)](/php/docs/reference/cloud-gke-multi-cloud/latest/V1.AwsClusterNetworking)\n- [1.2.1](/php/docs/reference/cloud-gke-multi-cloud/1.2.1/V1.AwsClusterNetworking)\n- [1.1.2](/php/docs/reference/cloud-gke-multi-cloud/1.1.2/V1.AwsClusterNetworking)\n- [1.0.0](/php/docs/reference/cloud-gke-multi-cloud/1.0.0/V1.AwsClusterNetworking)\n- [0.6.1](/php/docs/reference/cloud-gke-multi-cloud/0.6.1/V1.AwsClusterNetworking)\n- [0.5.4](/php/docs/reference/cloud-gke-multi-cloud/0.5.4/V1.AwsClusterNetworking)\n- [0.4.4](/php/docs/reference/cloud-gke-multi-cloud/0.4.4/V1.AwsClusterNetworking)\n- [0.3.0](/php/docs/reference/cloud-gke-multi-cloud/0.3.0/V1.AwsClusterNetworking)\n- [0.2.3](/php/docs/reference/cloud-gke-multi-cloud/0.2.3/V1.AwsClusterNetworking)\n- [0.1.4](/php/docs/reference/cloud-gke-multi-cloud/0.1.4/V1.AwsClusterNetworking) \nReference documentation and code samples for the Google Anthos Multi Cloud V1 Client class AwsClusterNetworking.\n\nClusterNetworking defines cluster-wide networking configuration.\n\nAnthos clusters on AWS run on a single VPC. This includes control\nplane replicas and node pool nodes.\n\nGenerated from protobuf message `google.cloud.gkemulticloud.v1.AwsClusterNetworking`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ GkeMultiCloud \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getVpcId\n\nRequired. The VPC associated with the cluster. All component clusters\n(i.e. control plane and node pools) run on a single VPC.\n\nThis field cannot be changed after creation.\n\n### setVpcId\n\nRequired. The VPC associated with the cluster. All component clusters\n(i.e. control plane and node pools) run on a single VPC.\n\nThis field cannot be changed after creation.\n\n### getPodAddressCidrBlocks\n\nRequired. All pods in the cluster are assigned an IPv4 address from these\nranges. Only a single range is supported. This field cannot be changed\nafter creation.\n\n### setPodAddressCidrBlocks\n\nRequired. All pods in the cluster are assigned an IPv4 address from these\nranges. Only a single range is supported. This field cannot be changed\nafter creation.\n\n### getServiceAddressCidrBlocks\n\nRequired. All services in the cluster are assigned an IPv4 address from\nthese ranges. Only a single range is supported. This field cannot be\nchanged after creation.\n\n### setServiceAddressCidrBlocks\n\nRequired. All services in the cluster are assigned an IPv4 address from\nthese ranges. Only a single range is supported. This field cannot be\nchanged after creation.\n\n### getPerNodePoolSgRulesDisabled\n\nOptional. Disable the per node pool subnet security group rules on the\ncontrol plane security group. When set to true, you must also provide one\nor more security groups that ensure node pools are able to send requests to\nthe control plane on TCP/443 and TCP/8132. Failure to do so may result in\nunavailable node pools.\n\n### setPerNodePoolSgRulesDisabled\n\nOptional. Disable the per node pool subnet security group rules on the\ncontrol plane security group. When set to true, you must also provide one\nor more security groups that ensure node pools are able to send requests to\nthe control plane on TCP/443 and TCP/8132. Failure to do so may result in\nunavailable node pools."]]