public sealed class GenerateAwsAccessTokenRequest : IMessage<GenerateAwsAccessTokenRequest>, IEquatable<GenerateAwsAccessTokenRequest>, IDeepCloneable<GenerateAwsAccessTokenRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Anthos Multi-Cloud v1 API class GenerateAwsAccessTokenRequest.
Request message for AwsClusters.GenerateAwsAccessToken method.
[[["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."],[[["\u003cp\u003eThe \u003ccode\u003eGenerateAwsAccessTokenRequest\u003c/code\u003e class is used for requesting an access token for an AWS cluster using the \u003ccode\u003eAwsClusters.GenerateAwsAccessToken\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the Anthos Multi-Cloud v1 API within the \u003ccode\u003eGoogle.Cloud.GkeMultiCloud.V1\u003c/code\u003e namespace, and the most current version is 2.8.0.\u003c/p\u003e\n"],["\u003cp\u003eIt implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, allowing for message manipulation and comparison.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties like \u003ccode\u003eAwsCluster\u003c/code\u003e (a string representing the cluster's resource name) and \u003ccode\u003eAwsClusterAsAwsClusterName\u003c/code\u003e, which provide access to AWS cluster-specific information.\u003c/p\u003e\n"],["\u003cp\u003eThe webpage provides a history of the class versions, including all the way back to version 1.0.0-beta01.\u003c/p\u003e\n"]]],[],null,["# Anthos Multi-Cloud v1 API - Class GenerateAwsAccessTokenRequest (2.8.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.8.0 (latest)](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.GenerateAwsAccessTokenRequest)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.7.0/Google.Cloud.GkeMultiCloud.V1.GenerateAwsAccessTokenRequest)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.6.0/Google.Cloud.GkeMultiCloud.V1.GenerateAwsAccessTokenRequest)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.5.0/Google.Cloud.GkeMultiCloud.V1.GenerateAwsAccessTokenRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.4.0/Google.Cloud.GkeMultiCloud.V1.GenerateAwsAccessTokenRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.3.0/Google.Cloud.GkeMultiCloud.V1.GenerateAwsAccessTokenRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.2.0/Google.Cloud.GkeMultiCloud.V1.GenerateAwsAccessTokenRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.1.0/Google.Cloud.GkeMultiCloud.V1.GenerateAwsAccessTokenRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.0.0/Google.Cloud.GkeMultiCloud.V1.GenerateAwsAccessTokenRequest)\n- [1.0.0-beta01](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/1.0.0-beta01/Google.Cloud.GkeMultiCloud.V1.GenerateAwsAccessTokenRequest) \n\n public sealed class GenerateAwsAccessTokenRequest : IMessage\u003cGenerateAwsAccessTokenRequest\u003e, IEquatable\u003cGenerateAwsAccessTokenRequest\u003e, IDeepCloneable\u003cGenerateAwsAccessTokenRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Anthos Multi-Cloud v1 API class GenerateAwsAccessTokenRequest.\n\nRequest message for `AwsClusters.GenerateAwsAccessToken` method. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e GenerateAwsAccessTokenRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GenerateAwsAccessTokenRequest](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.GenerateAwsAccessTokenRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GenerateAwsAccessTokenRequest](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.GenerateAwsAccessTokenRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GenerateAwsAccessTokenRequest](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.GenerateAwsAccessTokenRequest), [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) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.GkeMultiCloud.V1](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.GkeMultiCloud.V1.dll\n\nConstructors\n------------\n\n### GenerateAwsAccessTokenRequest()\n\n public GenerateAwsAccessTokenRequest()\n\n### GenerateAwsAccessTokenRequest(GenerateAwsAccessTokenRequest)\n\n public GenerateAwsAccessTokenRequest(GenerateAwsAccessTokenRequest other)\n\nProperties\n----------\n\n### AwsCluster\n\n public string AwsCluster { get; set; }\n\nRequired. The name of the\n\\[AwsCluster\\]\\[google.cloud.gkemulticloud.v1.AwsCluster\\] resource to\nauthenticate to.\n\n`AwsCluster` names are formatted as\n`projects/\u003cproject-id\u003e/locations/\u003cregion\u003e/awsClusters/\u003ccluster-id\u003e`.\n\nSee [Resource Names](https://cloud.google.com/apis/design/resource_names)\nfor more details on Google Cloud resource names.\n\n### AwsClusterAsAwsClusterName\n\n public AwsClusterName AwsClusterAsAwsClusterName { get; set; }\n\n[AwsClusterName](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.AwsClusterName)-typed view over the [AwsCluster](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.GenerateAwsAccessTokenRequest#Google_Cloud_GkeMultiCloud_V1_GenerateAwsAccessTokenRequest_AwsCluster) resource name property."]]