UpdateMalwareScanSettings
Source:
src/AWS/GuardDuty/UpdateMalwareScanSettings.ts
Runtime binding for guardduty:UpdateMalwareScanSettings.
Updates the detector’s EC2 malware scan settings (scan inclusion/exclusion tags, snapshot retention).
The detector id is injected from the bound Detector.
Provide the implementation with
Effect.provide(AWS.GuardDuty.UpdateMalwareScanSettingsHttp).
Malware Protection
Section titled “Malware Protection”// initconst updateMalwareScanSettings = yield* AWS.GuardDuty.UpdateMalwareScanSettings(detector);
// runtimeyield* updateMalwareScanSettings({ EbsSnapshotPreservation: "RETENTION_WITH_FINDING",});