

# Condition

A single condition: a signal, an operator, and a value. The service checks that the operator and value are valid for the signal when the policy is created or updated.

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

 ** operator **   <a name="continuum-Type-Condition-operator"></a>
How the signal is compared with the value.  
Type: String  
Valid Values: `MATCHES | AT_LEAST | EQUALS | NOT_EQUALS | IN | PRESENT`   
Required: Yes

 ** signal **   <a name="continuum-Type-Condition-signal"></a>
The package attribute that the condition tests.  
Type: String  
Valid Values: `PACKAGE_IDENTITY | INSPECTOR_SEVERITY | KEV | MALICIOUS`   
Required: Yes

 ** value **   <a name="continuum-Type-Condition-value"></a>
The value to compare the signal with. Omit it for the PRESENT operator, which takes no value.  
Type: [ConditionValue](API_ConditionValue.md) object  
 **Note: **This object is a Union. Only one member of this object can be specified or returned.  
Required: No

## See Also
<a name="API_Condition_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/continuum-2022-07-26/Condition) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/continuum-2022-07-26/Condition) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/continuum-2022-07-26/Condition) 