Skip to content

ArtificerEntertainment/lambda-twiddle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lambda-twiddle

Simple interface for modifying lambda environment variables.

//Example usage
const AWS = require('aws-sdk');
const lambdaSdk = new AWS.Lambda({apiVersion: '2015-03-31'});
const lambdaArn = 'arn:aws:lambda:us-east-1:123456789012:function:ProcessRecords';
const variableChanges = {
  environmentVariable1: 'string value 1',
  environmentVariable1: 'string value 2'
};

const lambdaTwiddle = require('lambda-twiddle');
return lambdaTwiddle.environmentVariables({lambdaSdk, lambdaArn, variableChanges});

The environmentVariables function returns:

About

Simple interface for modifying lambda properties.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published