

# S3ObjectForSendObjectMalwareScan
<a name="API_S3ObjectForSendObjectMalwareScan"></a>

The S3 object path to initiate a scan, including bucket name, object key, and optional version ID.

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

 ** bucket **   <a name="guardduty-Type-S3ObjectForSendObjectMalwareScan-bucket"></a>
The name of the S3 bucket containing the object to scan. The bucket must have GuardDuty Malware Protection enabled.  
Type: String  
Required: No

 ** key **   <a name="guardduty-Type-S3ObjectForSendObjectMalwareScan-key"></a>
The key (name) of the S3 object to scan for malware. This must be the full key path of the object within the bucket.  
Type: String  
Required: No

 ** versionId **   <a name="guardduty-Type-S3ObjectForSendObjectMalwareScan-versionId"></a>
The version ID of the S3 object to scan. If not specified, the latest version of the object is scanned.  
Type: String  
Required: No

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