

# OpenSearchDataAccessPolicy
<a name="API_OpenSearchDataAccessPolicy"></a>

This structure contains information about the OpenSearch Service data access policy used for this integration. The access policy defines the access controls for the collection. This data access policy was automatically created as part of the integration setup. For more information about OpenSearch Service data access policies, see [Data access control for Amazon OpenSearch Serverless](https://docs.amazonaws.cn/opensearch-service/latest/developerguide/serverless-data-access.html) in the OpenSearch Service Developer Guide.

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

 ** policyName **   <a name="CWL-Type-OpenSearchDataAccessPolicy-policyName"></a>
The name of the data access policy.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 256.  
Pattern: `[\.\-_/#A-Za-z0-9]+`   
Required: No

 ** status **   <a name="CWL-Type-OpenSearchDataAccessPolicy-status"></a>
This structure contains information about the status of this OpenSearch Service resource.  
Type: [OpenSearchResourceStatus](API_OpenSearchResourceStatus.md) object  
Required: No

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

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\+\+](https://docs.amazonaws.cn/goto/SdkForCpp/logs-2014-03-28/OpenSearchDataAccessPolicy) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/logs-2014-03-28/OpenSearchDataAccessPolicy) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/logs-2014-03-28/OpenSearchDataAccessPolicy) 