Skip to content

james-s-nduka/Lambda_Functions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lambda Functions

This repository will store the Lambda Functions associated with a AWS Cloud Capability Centre Portal

Recommended Use

Use emulambda to emulate the AWS Lambda API locally. It provides a Python "harness" that you can use to wrap your function and run/analyze it.

Use Vagrant to run the Lambda functions isolated from your workstation. (VagrantFile in project directory)

Usage

In the root of this folder;

vagrant up
vagrant ssh
cd /vagrant/<lambda+folder>

From the function root directory, run: emulambda -v example.example_handler example.json

You should see output similar to the following:

Executed example.example_handler
Estimated...
...execution clock time:		 277ms (300ms billing bucket)
...execution peak RSS memory:	 368M (386195456 bytes)
----------------------RESULT----------------------
value1

Once tested in Dev & Pre-Prod - The required function should be deployed via the AWS CLI to the Production account.

Security

NEVER store credentials and sensitive data in the event file.

About

A set of Python AWS Lambda Functions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages