Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def handler(event, context):
"""Main handler function, passes off it's work to crhelper's cfn_handler.""" # noqa: D401
# update the logger with event info
global logger
logger = crhelper.log_config(event, loglevel="info")
return crhelper.cfn_handler(event, context, create, update, delete, logger, init_failed)
def handler(event, context):
"""
Main handler function, passes off it's work to crhelper's cfn_handler
"""
# update the logger with event info
global logger
logger = crhelper.log_config(event)
return crhelper.cfn_handler(event, context, create, update, delete, logger, init_failed)
def handler(event, context):
"""Main handler function, passes off it's work to crhelper's cfn_handler.""" # noqa: D401
# update the logger with event info
global logger
logger = crhelper.log_config(event, loglevel="info")
return crhelper.cfn_handler(event, context, create, update, delete, logger, init_failed)
def handler(event, context):
"""
Main handler function, passes off it's work to crhelper's cfn_handler
"""
# update the logger with event info
global logger
logger = crhelper.log_config(event)
return crhelper.cfn_handler(event, context, create, update, delete, logger,
init_failed)