# BigQuery Connection v1 API - Class AwsAccessRole (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.BigQuery.Connection.V1/latest/Google.Cloud.BigQuery.Connection.V1.AwsAccessRole)
- [2.9.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Connection.V1/2.9.0/Google.Cloud.BigQuery.Connection.V1.AwsAccessRole)
- [2.8.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Connection.V1/2.8.0/Google.Cloud.BigQuery.Connection.V1.AwsAccessRole)
- [2.7.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Connection.V1/2.7.0/Google.Cloud.BigQuery.Connection.V1.AwsAccessRole)
- [2.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Connection.V1/2.6.0/Google.Cloud.BigQuery.Connection.V1.AwsAccessRole)
- [2.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Connection.V1/2.5.0/Google.Cloud.BigQuery.Connection.V1.AwsAccessRole)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Connection.V1/2.4.0/Google.Cloud.BigQuery.Connection.V1.AwsAccessRole)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Connection.V1/2.3.0/Google.Cloud.BigQuery.Connection.V1.AwsAccessRole)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Connection.V1/2.2.0/Google.Cloud.BigQuery.Connection.V1.AwsAccessRole)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Connection.V1/2.1.0/Google.Cloud.BigQuery.Connection.V1.AwsAccessRole)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Connection.V1/2.0.0/Google.Cloud.BigQuery.Connection.V1.AwsAccessRole)
- [1.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Connection.V1/1.6.0/Google.Cloud.BigQuery.Connection.V1.AwsAccessRole)
- [1.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Connection.V1/1.5.0/Google.Cloud.BigQuery.Connection.V1.AwsAccessRole)
- [1.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Connection.V1/1.4.0/Google.Cloud.BigQuery.Connection.V1.AwsAccessRole)
- [1.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Connection.V1/1.3.0/Google.Cloud.BigQuery.Connection.V1.AwsAccessRole)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Connection.V1/1.2.0/Google.Cloud.BigQuery.Connection.V1.AwsAccessRole)

    public sealed class AwsAccessRole : IMessage<AwsAccessRole>, IEquatable<AwsAccessRole>, IDeepCloneable<AwsAccessRole>, IBufferMessage, IMessage

Reference documentation and code samples for the BigQuery Connection v1 API class AwsAccessRole.

Authentication method for Amazon Web Services (AWS) that uses Google owned
Google service account to assume into customer's AWS IAM Role.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AwsAccessRole](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Connection.V1/latest/Google.Cloud.BigQuery.Connection.V1.AwsAccessRole), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AwsAccessRole](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Connection.V1/latest/Google.Cloud.BigQuery.Connection.V1.AwsAccessRole), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[AwsAccessRole](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Connection.V1/latest/Google.Cloud.BigQuery.Connection.V1.AwsAccessRole), [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.BigQuery.Connection.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Connection.V1/latest/Google.Cloud.BigQuery.Connection.V1)

## Assembly

Google.Cloud.BigQuery.Connection.V1.dll

## Constructors

### AwsAccessRole()

    public AwsAccessRole()

### AwsAccessRole(AwsAccessRole)

    public AwsAccessRole(AwsAccessRole other)

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

## Properties

### IamRoleId

    public string IamRoleId { get; set; }

The user's AWS IAM Role that trusts the Google-owned AWS IAM user
Connection.

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

### Identity

    public string Identity { get; set; }

A unique Google-owned and Google-generated identity for the Connection.
This identity will be used to access the user's AWS IAM Role.

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