

# DocumentAttribute
<a name="API_qapps_DocumentAttribute"></a>

A document attribute or metadata field.

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

 ** name **   <a name="qbusiness-Type-qapps_DocumentAttribute-name"></a>
The identifier for the attribute.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 200.  
Pattern: `[a-zA-Z0-9_][a-zA-Z0-9_-]*`   
Required: Yes

 ** value **   <a name="qbusiness-Type-qapps_DocumentAttribute-value"></a>
The value of the attribute.   
Type: [DocumentAttributeValue](API_qapps_DocumentAttributeValue.md) object  
 **Note: **This object is a Union. Only one member of this object can be specified or returned.  
Required: Yes

## See Also
<a name="API_qapps_DocumentAttribute_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/qapps-2023-11-27/DocumentAttribute) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/qapps-2023-11-27/DocumentAttribute) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/qapps-2023-11-27/DocumentAttribute) 