

# AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails
<a name="API_AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails"></a>

 An object that contains information on the status of Malware Protection as a data source for the detector. 

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

 ** ScanEc2InstanceWithFindings **   <a name="securityhub-Type-AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails-ScanEc2InstanceWithFindings"></a>
 Describes the configuration of Malware Protection for EC2 instances with findings.   
Type: [AwsGuardDutyDetectorDataSourcesMalwareProtectionScanEc2InstanceWithFindingsDetails](API_AwsGuardDutyDetectorDataSourcesMalwareProtectionScanEc2InstanceWithFindingsDetails.md) object  
Required: No

 ** ServiceRole **   <a name="securityhub-Type-AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails-ServiceRole"></a>
 The GuardDuty Malware Protection service role.   
Type: String  
Pattern: `.*\S.*`   
Required: No

## See Also
<a name="API_AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails_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/securityhub-2018-10-26/AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/securityhub-2018-10-26/AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/securityhub-2018-10-26/AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails) 