Files
swift-aws-lambda-runtime/Examples/Deployment/scripts/serverless/Benchmark-template.yml
T
YR Chen 4317c5334f Adopt concurrency adoption guidelines (#230)
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
2021-12-06 20:52:35 +01:00

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