Files
Andrea Scuderi c683b41545 Add example scripts and docs for Serverless Framework (#113)
* Add example scripts and docs for Serverless Framework
* Refactor Examples folder and scripts
- Add a common config.sh script
- Move SAM templates to scripts/SAM
- Add Serverless templates to scripts/serverless
- Update the scripts to work with new folder structure and config.sh
2020-06-12 12:14:37 -07:00

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