

# Attribute

A key-value attribute for a proxy.

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

 ** key **   <a name="elasticloadbalancing-Type-Attribute-key"></a>
The key of the attribute.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.  
Required: Yes

 ** value **   <a name="elasticloadbalancing-Type-Attribute-value"></a>
The value of the attribute.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 2048.  
Required: Yes

## See Also
<a name="API_Attribute_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/elb-proxy-2026-11-20/Attribute) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/elb-proxy-2026-11-20/Attribute) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/elb-proxy-2026-11-20/Attribute) 