

# Attribute


This data type is used as a request parameter in the [AddAttributesToFindings](API_AddAttributesToFindings.md) and [CreateAssessmentTemplate](API_CreateAssessmentTemplate.md) actions.

## Contents


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

 ** value **   <a name="Inspector-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


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/inspector-2016-02-16/Attribute) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/inspector-2016-02-16/Attribute) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/inspector-2016-02-16/Attribute) 