Method: projects.locations.getAwsServerConfig

Returns information, such as supported AWS regions and Kubernetes versions, on a given Google Cloud location.

HTTP request

GET https://{endpoint}/v1/{name=projects/*/locations/*/awsServerConfig}

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

The URLs use gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the AwsServerConfig resource to describe.

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

See Resource Names for more details on Google Cloud resource names.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

AwsServerConfig is the configuration of GKE cluster on AWS.

JSON representation
{
  "name": string,
  "validVersions": [
    {
      object (AwsK8sVersionInfo)
    }
  ],
  "supportedAwsRegions": [
    string
  ]
}
Fields
name

string

The resource name of the config.

validVersions[]

object (AwsK8sVersionInfo)

List of valid Kubernetes versions.

supportedAwsRegions[]

string

The list of supported AWS regions.

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 name resource:

  • gkemulticloud.awsServerConfigs.get

For more information, see the IAM documentation.

AwsK8sVersionInfo

Kubernetes version information of GKE cluster on AWS.

JSON representation
{
  "version": string
}
Fields
version

string

Kubernetes version name.