pcf.extended_particles.aws.lambda_function package

Submodules

pcf.extended_particles.aws.lambda_function.lambda_python module

class pcf.extended_particles.aws.lambda_function.lambda_python.LambdaPython(particle_definition)

Bases: pcf.particle.aws.lambda_function.lambda_function.LambdaFunction

This extends the LambdaFunction. It adds the functionality to autogenerate a zip file of your python packages and files. THe python packages are autodiscovered using importlib.

_generate_zip()

Creates a zip of python packages in requirements.txt and a list of files specified in python_files. It then adds the zip to the desired definition

flavor = 'lambda_python_function'

Module contents