

# ProtectedResourceConditions
<a name="API_ProtectedResourceConditions"></a>

The conditions that you define for resources in your restore testing plan using tags.

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

 ** StringEquals **   <a name="Backup-Type-ProtectedResourceConditions-StringEquals"></a>
Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."  
Type: Array of [KeyValue](API_KeyValue.md) objects  
Required: No

 ** StringNotEquals **   <a name="Backup-Type-ProtectedResourceConditions-StringNotEquals"></a>
Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching."  
Type: Array of [KeyValue](API_KeyValue.md) objects  
Required: No

## See Also
<a name="API_ProtectedResourceConditions_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/backup-2018-11-15/ProtectedResourceConditions) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/backup-2018-11-15/ProtectedResourceConditions) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/backup-2018-11-15/ProtectedResourceConditions) 