StartMalwareScan
Source:
src/AWS/GuardDuty/StartMalwareScan.ts
Runtime binding for guardduty:StartMalwareScan.
Starts an on-demand malware scan of an EC2 instance by ARN (GuardDuty Malware Protection for EC2).
Account-level operation — invoked with the caller’s request as-is.
Provide the implementation with
Effect.provide(AWS.GuardDuty.StartMalwareScanHttp).
Malware Protection
Section titled “Malware Protection”// init// init — account-level binding, no resource argumentconst startMalwareScan = yield* AWS.GuardDuty.StartMalwareScan();
// runtimeconst { ScanId } = yield* startMalwareScan({ ResourceArn: instanceArn,});