

# MetadataAttribute


Contains information about a metadata attribute.

## Contents


 ** key **   <a name="bedrock-Type-agent_MetadataAttribute-key"></a>
The key of the metadata attribute.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 200.  
Required: Yes

 ** value **   <a name="bedrock-Type-agent_MetadataAttribute-value"></a>
Contains the value of the metadata attribute.  
Type: [MetadataAttributeValue](API_agent_MetadataAttributeValue.md) object  
Required: Yes

## See Also


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/bedrock-agent-2023-06-05/MetadataAttribute) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/bedrock-agent-2023-06-05/MetadataAttribute) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/bedrock-agent-2023-06-05/MetadataAttribute) 