

# SecurityLakeDirectQueryDataSource
<a name="API_SecurityLakeDirectQueryDataSource"></a>

 Configuration details for a Security Lake data source that can be used for direct queries. 

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

 ** RoleArn **   <a name="opensearchservice-Type-SecurityLakeDirectQueryDataSource-RoleArn"></a>
 The unique identifier of the IAM role that grants OpenSearch Service permission to access the specified data source.   
Type: String  
Length Constraints: Minimum length of 32. Maximum length of 200.  
Pattern: `^arn:aws[a-zA-Z-]*:iam::\d{12}:role(\/service-role)?\/[A-Za-z0-9+=,.@\-_]{1,64}$`   
Required: Yes

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

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