

# ConditionValue

The value of a condition. Specify exactly one member, matching the signal and operator: `packageIdentity` for PACKAGE\_IDENTITY with MATCHES, `severity` for INSPECTOR\_SEVERITY with AT\_LEAST, EQUALS, or NOT\_EQUALS, `stringValue` for EQUALS or NOT\_EQUALS, and `stringSet` for IN.

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

**Important**  
This data type is a UNION, so only one of the following members can be specified when used or returned.

 ** packageIdentity **   <a name="continuum-Type-ConditionValue-packageIdentity"></a>
The package to match, for the PACKAGE\_IDENTITY signal.  
Type: [PackageIdentity](API_PackageIdentity.md) object  
Required: No

 ** severity **   <a name="continuum-Type-ConditionValue-severity"></a>
An Amazon Inspector severity, for the INSPECTOR\_SEVERITY signal.  
Type: String  
Valid Values: `LOW | MEDIUM | HIGH | CRITICAL | UNTRIAGED`   
Required: No

 ** stringSet **   <a name="continuum-Type-ConditionValue-stringSet"></a>
A set of up to 20 values, for the IN operator.  
Type: Array of strings  
Array Members: Minimum number of 1 item. Maximum number of 20 items.  
Length Constraints: Minimum length of 1. Maximum length of 256.  
Required: No

 ** stringValue **   <a name="continuum-Type-ConditionValue-stringValue"></a>
A single value, for the EQUALS and NOT\_EQUALS operators.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 256.  
Required: No

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