mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 10:25:05 +03:00
18 lines
445 B
YAML
18 lines
445 B
YAML
|
AWSTemplateFormatVersion: '2010-09-09'
|
||
|
Transform: AWS::Serverless-2016-10-31
|
||
|
Description: A simple SAM template for a Lambda function triggered by API Gateway
|
||
|
|
||
|
Resources:
|
||
|
HelloWorldFunction:
|
||
|
Type: AWS::Serverless::Function
|
||
|
Properties:
|
||
|
Handler: index.handler
|
||
|
Runtime: nodejs14.x
|
||
|
CodeUri: .
|
||
|
Events:
|
||
|
HelloWorldApi:
|
||
|
Type: Api
|
||
|
Properties:
|
||
|
Path: /hello
|
||
|
Method: get
|