Readonly
cleanRule for sending clean files source is VirusScanner statis is CLEAN
Private
Readonly
efsDirectory where virus definitions are downloaded
Private
Readonly
efsEFS Mount
Private
Readonly
efsRoot path for virus scanner lambda
Readonly
infectedRule for sending infected files source is VirusScanner statis is INFECTED
Private
Readonly
s3S3 Gateway endpoint for S3 Buckets
Readonly
scanThe Lambda Destination for failed on erred scans [ERROR, IN PROGRESS (If error is due to Lambda timeout)].
Readonly
scanSQS where error messages are sent
Private
Readonly
virusLambda that scans the files
ArnPrincipal the ARN of the assumed role principal for the scan function
Generated using TypeDoc
CloudKitect Virus Scanner Pattern Properties It will scan every file that is uploaded to the fileUpload S3 bucket, it will first download the file to the EFS filesystem, then it will invoke the virus scanner lambda for scanning that file. Virus scan results are then sent to the event bus for further processing
Input: A Bucket where the file will be uploaded Output: FileScanned Event with following details.
Note: Event is sent to EventBus if the status is CLEAN/INFECTED and sent to SQS error Queue if statis is ERROR
Infrastructure Diagram
Default Configuration
INFECTED files are sent to eventbus with status: INFECTED CLEAN files are sent to eventbus with status: CLEAN Files that result in scan error are send to the error SQS queue
Default Alarms
None Note that the default alarm uses the WaAlarm construct, which sets up an alarm action to notify the SNS Topic AlarmEventsTopic by default.
Examples
Default Usage
Custom Configuration
Compliance
It addresses the following compliance requirements