# BigQuery Connection V1 API - Class Google::Cloud::Bigquery::Connection::V1::AwsCrossAccountRole (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.1 0.18.0 0.17.2 0.16.0 0.15.1 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.3 Reference documentation and code samples for the BigQuery Connection V1 API class Google::Cloud::Bigquery::Connection::V1::AwsCrossAccountRole.

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

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #external_id

    def external_id() -> ::String

**Returns**

- (::String) --- Output only. A Google-generated id for representing Connection's identity in AWS. External Id is also used for preventing the Confused Deputy Problem. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html

### #iam_role_id

    def iam_role_id() -> ::String

**Returns**

- (::String) --- The user's AWS IAM Role that trusts the Google-owned AWS IAM user Connection.

### #iam_role_id=

    def iam_role_id=(value) -> ::String

**Parameter**

- **value** (::String) --- The user's AWS IAM Role that trusts the Google-owned AWS IAM user Connection.
**Returns**

- (::String) --- The user's AWS IAM Role that trusts the Google-owned AWS IAM user Connection.

### #iam_user_id

    def iam_user_id() -> ::String

**Returns**

- (::String) --- Output only. Google-owned AWS IAM User for a Connection.