Created
October 20, 2017 20:27
-
-
Save richardhyatt/64755c8190d819151a22d53e253355bf to your computer and use it in GitHub Desktop.
scheduled handler using vandium
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| '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