Skip to content

Instantly share code, notes, and snippets.

@12
Created May 4, 2020 20:14
Show Gist options
  • Save 12/5e39392532a490d7288ca3367227ad83 to your computer and use it in GitHub Desktop.
Save 12/5e39392532a490d7288ca3367227ad83 to your computer and use it in GitHub Desktop.
AWSTemplateFormatVersion: "2010-09-09"
Transform: AWS::Serverless-2016-10-31
Description: Superf Performance Runner
Resources:
PerformanceRunnerFunction:
Type: AWS::Serverless::Function # More info about Function Resource: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction
Properties:
CodeUri: runner/
Handler: app.handler
Runtime: nodejs12.x
Timeout: 60
MemorySize: 512
Events:
Performance:
Type: Api # More info about API Event Source: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#api
Properties:
Path: /fire
Method: get
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment