Last active
October 13, 2018 19:47
-
-
Save brianneisler/af5bbc7bac2030932de633fa57c6bb8a to your computer and use it in GitHub Desktop.
General serverless function abstractions
This file contains 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
name: SimpleService | |
extends: Service | |
compute: | |
type: AwsLambdaCompute | |
inputs: | |
provider: ${inputs.providers.aws} | |
runtime: nodejs | |
functions: | |
hello: | |
compute: ${this.compute} | |
handler: index.hello | |
code: ./code | |
memory: 1024 | |
timeout: 10 | |
components: | |
cron: | |
type: Cron | |
inputs: | |
function: ${this.functions.hello} | |
rate: 3m |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment