mirror of
https://github.com/swift-server/swift-aws-lambda-runtime.git
synced 2026-05-03 07:22:27 +00:00
4317c5334f
Adopt Swift Concurrency adoption guidelines for Swift Server Libraries (swift-server/guides#70). - Use #if compiler(>=5.5) && canImport(_Concurrency) to judge if Concurrency is available - Some clean up
20 lines
416 B
YAML
20 lines
416 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 |