Resources: LambdaWAFHelperFunction: Type: 'AWS::Lambda::Function' Properties: Description: >- This lambda function verifies the main project's dependencies, requirements and implement auxiliary functions. Handler: 'helper.lambda_handler' Role: !GetAtt LambdaRoleHelper.Arn Code: S3Bucket: !Join ['-', [!FindInMap ["SourceCode", "General", "S3Bucket"], !Ref 'AWS::Region']] S3Key: !Join ['/', [!FindInMap ["SourceCode", "General", "KeyPrefix"], 'helper.zip']] Environment: Variables: API_TYPE: !If [AlbEndpoint, 'waf-regional', 'waf'] LOG_LEVEL: !FindInMap ["Solution", "Data", "LogLevel"] Runtime: python3.7 MemorySize: 128 Timeout: 300