mirror of
https://github.com/ivabus/pantry
synced 2024-11-29 11:45:07 +03:00
226c3d07cc
new file: projects/aws.amazon.com/sam/template.yml
17 lines
445 B
YAML
17 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
|