Skip to content

Instantly share code, notes, and snippets.

@richardhyatt
Created October 20, 2017 20:27
Show Gist options
  • Select an option

  • Save richardhyatt/64755c8190d819151a22d53e253355bf to your computer and use it in GitHub Desktop.

Select an option

Save richardhyatt/64755c8190d819151a22d53e253355bf to your computer and use it in GitHub Desktop.
scheduled handler using vandium
'use strict';
const vandium = require( 'vandium' );
// environment variables are set at this point since vanidum
// will load them from Parameter Store
exports.handler = vandium.scheduled( (event, context ) => {
console.log( 'ABC = ', proceass.env.ABC );
// do whatever we need to do...
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment