Files
swift-aws-lambda-runtime/Examples/Deployment/scripts/SAM/HelloWorld-template.yml
T
tomer doron b757de0241 Update and add examples to new APIs (#228)
* take advantage of @main where possible
* move the top level Sample code to the examples subdirectory
* extract a few examples form the "LambdaFunctions" directory (which is really a deployment demo) and move them to the top level Examples directory
*  rename "LambdaFunctions" examples as "Deployments" to make their intent clearer
* add a sample that demonstrates how to test a lambda now that SwiftPM can test executables directly
* update the test-sample docker setup to build & test th new samples
* fix a few typos and In/Out typealias left overs
* remove LinuxMain since its no longer required
2021-09-25 10:30:04 +02:00

15 lines
454 B
YAML

AWSTemplateFormatVersion : '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Description: A sample SAM template for deploying Lambda functions.
Resources:
# HelloWorld Function
helloWorldFunction:
Type: AWS::Serverless::Function
Properties:
Handler: Provided
Runtime: provided
CodeUri: ../../.build/lambda/HelloWorld/lambda.zip
# Instructs new versions to be published to an alias named "live".
AutoPublishAlias: live