Skip to content

Instantly share code, notes, and snippets.

@jed
Created August 10, 2017 16:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jed/e27746ff9db30413adbccf31329f8eac to your computer and use it in GitHub Desktop.
Save jed/e27746ff9db30413adbccf31329f8eac to your computer and use it in GitHub Desktop.
AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Resources:
GetFunction:
Type: AWS::Serverless::Function
Properties:
Handler: index.handler
Runtime: nodejs6.10
CodeUri: index.js
Events:
GetResource:
Type: Api
Properties:
Path: /
Method: get
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment