pantry/projects/aws.amazon.com/sam/template.yml
Andrii Riabchenko 226c3d07cc new file: projects/aws.amazon.com/sam/package.yml
new file:   projects/aws.amazon.com/sam/template.yml
2024-03-13 14:31:01 -04:00

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