Skip to content

GetMalwareScanSettings

Source: src/AWS/GuardDuty/GetMalwareScanSettings.ts

Runtime binding for guardduty:GetMalwareScanSettings.

Reads the detector’s EC2 malware scan settings — scan resource criteria and EBS snapshot preservation. The detector id is injected from the bound Detector. Provide the implementation with Effect.provide(AWS.GuardDuty.GetMalwareScanSettingsHttp).

// init
const getMalwareScanSettings = yield* AWS.GuardDuty.GetMalwareScanSettings(detector);
// runtime
const { ScanResourceCriteria } = yield* getMalwareScanSettings();