CodeQL library for Python
codeql/python-all 2.1.3-dev (changelog, source)
Search

Predicate ServerLess::hasServerlessHandler

Holds if the .yml file ymlFile contains a serverless configuration from framework with handler, codeURI, and runtime properties. codeURI and runtime default to the empty string if no explicit value is set in the configuration.

handler should be interpreted in a language specific way, see mapping.md.

Import path

import codeql.serverless.ServerLess
predicate hasServerlessHandler(File ymlFile, string framework, string handler, string codeUri, string runtime)