mirror of
https://github.com/swift-server/swift-aws-lambda-runtime.git
synced 2026-05-03 07:22:27 +00:00
b757de0241
* 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
15 lines
454 B
YAML
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
|