

# MalwareThreat
<a name="API_MalwareThreat"></a>

Contains information about a threat that a malware scan detected.

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

 ** infectedFileCount **   <a name="guardduty-Type-MalwareThreat-infectedFileCount"></a>
The number of files that the threat infected.  
Type: Long  
Valid Range: Minimum value of 0.  
Required: No

 ** name **   <a name="guardduty-Type-MalwareThreat-name"></a>
The name of the threat.  
Type: String  
Required: No

 ** sampleFiles **   <a name="guardduty-Type-MalwareThreat-sampleFiles"></a>
Examples of files that the threat infected.  
Type: String  
Required: No

 ** severity **   <a name="guardduty-Type-MalwareThreat-severity"></a>
The severity of the threat.  
Type: String  
Required: No

## See Also
<a name="API_MalwareThreat_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/guardduty-2017-11-28/MalwareThreat) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/guardduty-2017-11-28/MalwareThreat) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/guardduty-2017-11-28/MalwareThreat) 