

# AccessConfig

The authorization that AWS Context uses to read a connection's data source at search time. Specify at most one member. For a third-party connection, configure Credential Broker settings on its AWS Glue connection, not in this structure.

## Contents
<a name="API_AccessConfig_Contents"></a>

**Important**  
This data type is a UNION, so only one of the following members can be specified when used or returned.

 ** iamRole **   <a name="context-Type-AccessConfig-iamRole"></a>
Assume-role access. The service assumes `roleArn` to read the connection's data source.  
Type: [IamRoleAccess](API_IamRoleAccess.md) object  
Required: No

## See Also
<a name="API_AccessConfig_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/context-2022-07-26/AccessConfig) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/context-2022-07-26/AccessConfig) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/context-2022-07-26/AccessConfig) 