Lambda

Lambda

class AwAws.Lambda.base.Lambda
get_aw_account()

returns AwAws Account we are running in

get_aw_env()

returns the AwAws environment if set

get_env(var_name)

returns the given environment variable

get_region()

returns AWS Region we are running in

Lambda Tools

Currently the only tool is called WhipIt. It is meant to be installed in a lambda that is run by CloudWatch Events and run every 30 minutes or so. When it runs, it invokes the lambdas in its target list but short circuits the logic of the lambda. This keeps the lambda warm and helps to avoid, but does not eliminate, cold starts.

class AwAws.Lambda.tools.LambdaTools(client=None)
whipit()

this function can be used to keep lambdas warm