Before performing this task, the "SCAN_CONFIG" key of the Scanner Lambda function should exist. Follow these steps:
- Navigate to the AWS console and go to CloudFormation > Stacks > (find the scanner stack) > Resources > ScannerLambda.
- Click the link in "Physical ID" field to open the Lambda function page.
- In Scanner Lambda function page go to Configuration > Environment variables.
- Check if SCAN_CONFIG exists.
To configure SCAN_CONFIG, follow these steps:
- In Scanner Lambda function page > Configuration > Environment variables > Edit.
- Edit the environment variable: SCAN_CONFIG value as:
{"extractFileCountLimit": <the_file_count_limit> }
As an example: {"extractFileCountLimit": 40 }
- In Scanner Lambda function page go to Versions and click Publish new version button to publish a new version.
- In Scanner Lambda function page go to Aliases.
- Choose TM-FSS-MANAGED then click Edit.
- Click the Version dropdown and choose the version published in Step 3.
- Click Save.
To increase the timeout configuration, follow these steps:
- In the Scanner Lambda Function page go to Configuration.
- Under General Configuration, you can edit the Timeout value.