

# Attribute
<a name="API_Attribute"></a>

This data type is used in the [ImageScanFinding](API_ImageScanFinding.md) data type.

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

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

 ** value **   <a name="ECR-Type-Attribute-value"></a>
The value assigned to the attribute key.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 256.  
Required: No

## 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\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/ecr-2015-09-21/Attribute) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/ecr-2015-09-21/Attribute) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/ecr-2015-09-21/Attribute) 