

# Evaluation
<a name="API_Evaluation"></a>

Identifies an Amazon resource and indicates whether it complies with the Amazon Config rule that it was evaluated against.

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

 ** ComplianceResourceId **   <a name="config-Type-Evaluation-ComplianceResourceId"></a>
The ID of the Amazon resource that was evaluated.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 768.  
Required: Yes

 ** ComplianceResourceType **   <a name="config-Type-Evaluation-ComplianceResourceType"></a>
The type of Amazon resource that was evaluated.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 256.  
Required: Yes

 ** ComplianceType **   <a name="config-Type-Evaluation-ComplianceType"></a>
Indicates whether the Amazon resource complies with the Amazon Config rule that it was evaluated against.  
For the `Evaluation` data type, Amazon Config supports only the `COMPLIANT`, `NON_COMPLIANT`, and `NOT_APPLICABLE` values. Amazon Config does not support the `INSUFFICIENT_DATA` value for this data type.  
Similarly, Amazon Config does not accept `INSUFFICIENT_DATA` as the value for `ComplianceType` from a `PutEvaluations` request. For example, an Amazon Lambda function for a custom Amazon Config rule cannot pass an `INSUFFICIENT_DATA` value to Amazon Config.  
Type: String  
Valid Values: `COMPLIANT | NON_COMPLIANT | NOT_APPLICABLE | INSUFFICIENT_DATA`   
Required: Yes

 ** OrderingTimestamp **   <a name="config-Type-Evaluation-OrderingTimestamp"></a>
The time of the event in Amazon Config that triggered the evaluation. For event-based evaluations, the time indicates when Amazon Config created the configuration item that triggered the evaluation. For periodic evaluations, the time indicates when Amazon Config triggered the evaluation at the frequency that you specified (for example, every 24 hours).  
Type: Timestamp  
Required: Yes

 ** Annotation **   <a name="config-Type-Evaluation-Annotation"></a>
Supplementary information about how the evaluation determined the compliance.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 256.  
Required: No

## See Also
<a name="API_Evaluation_SeeAlso"></a>

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\+\+](https://docs.amazonaws.cn/goto/SdkForCpp/config-2014-11-12/Evaluation) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/config-2014-11-12/Evaluation) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/config-2014-11-12/Evaluation) 