mirror of
https://github.com/swift-server/swift-aws-lambda-runtime.git
synced 2026-06-02 07:27:33 +00:00
* 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
20 lines
424 B
YAML
20 lines
424 B
YAML
service: benchmark-swift-aws
|
|
|
|
package:
|
|
artifact: .build/lambda/Benchmark/lambda.zip
|
|
|
|
provider:
|
|
name: aws
|
|
runtime: provided
|
|
iamRoleStatements:
|
|
- Effect: Allow
|
|
Action:
|
|
- logs:CreateLogGroup
|
|
- logs:CreateLogStream
|
|
- logs:PutLogEvents
|
|
Resource: "*"
|
|
|
|
functions:
|
|
benchmarkFunction:
|
|
handler: Benchmark
|
|
memorySize: 128 |