

# MalwareScan
<a name="API_MalwareScan"></a>

Contains information about a particular malware scan.

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

 ** resourceArn **   <a name="guardduty-Type-MalwareScan-resourceArn"></a>
Amazon Resource Name (ARN) of the resource for the given malware scan.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 200.  
Required: No

 ** resourceType **   <a name="guardduty-Type-MalwareScan-resourceType"></a>
The type of resource that was scanned for malware.  
Type: String  
Valid Values: `EBS_RECOVERY_POINT | EBS_SNAPSHOT | EBS_VOLUME | EC2_AMI | EC2_INSTANCE | EC2_RECOVERY_POINT | S3_RECOVERY_POINT | S3_BUCKET`   
Required: No

 ** scanCompletedAt **   <a name="guardduty-Type-MalwareScan-scanCompletedAt"></a>
The timestamp representing when the malware scan was completed.  
Type: Timestamp  
Required: No

 ** scanId **   <a name="guardduty-Type-MalwareScan-scanId"></a>
A unique identifier that gets generated when you invoke the API without any error. Each malware scan has a corresponding scan ID. Using this scan ID, you can monitor the status of your malware scan.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 200.  
Required: No

 ** scanResultStatus **   <a name="guardduty-Type-MalwareScan-scanResultStatus"></a>
An enum value representing the result of the malware scan.  
Type: String  
Valid Values: `NO_THREATS_FOUND | THREATS_FOUND`   
Required: No

 ** scanStartedAt **   <a name="guardduty-Type-MalwareScan-scanStartedAt"></a>
The timestamp representing when the malware scan was started.  
Type: Timestamp  
Required: No

 ** scanStatus **   <a name="guardduty-Type-MalwareScan-scanStatus"></a>
An enum value representing the current status of the malware scan.  
Type: String  
Valid Values: `RUNNING | COMPLETED | COMPLETED_WITH_ISSUES | FAILED | SKIPPED`   
Required: No

 ** scanType **   <a name="guardduty-Type-MalwareScan-scanType"></a>
An enum value representing the type of scan that was initiated.  
Type: String  
Valid Values: `BACKUP_INITIATED | ON_DEMAND | GUARDDUTY_INITIATED`   
Required: No

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