Skip to content

Instantly share code, notes, and snippets.

@sapessi
Created March 14, 2020 00:14
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sapessi/73820d792fd2193b4f72875471ea0871 to your computer and use it in GitHub Desktop.
Save sapessi/73820d792fd2193b4f72875471ea0871 to your computer and use it in GitHub Desktop.
SAM HttpApi payload version
HttpApiFunction:
Type: AWS::Serverless::Function
Properties:
CodeUri: ./
Handler: index.handler
Runtime: nodejs12.x
Events:
Basic:
Type: HttpApi
Properties:
ApiId: !Ref MyApi
Path: /basic
Method: post
TimeoutInMillis: 10000
PayloadFormatVersion: "1.0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment