mirror of
https://github.com/swift-server/swift-aws-lambda-runtime.git
synced 2026-05-03 07:22:27 +00:00
c683b41545
* 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
20 lines
440 B
YAML
20 lines
440 B
YAML
service: errorhandling-swift-aws
|
|
|
|
package:
|
|
artifact: .build/lambda/ErrorHandling/lambda.zip
|
|
|
|
provider:
|
|
name: aws
|
|
runtime: provided
|
|
iamRoleStatements:
|
|
- Effect: Allow
|
|
Action:
|
|
- logs:CreateLogGroup
|
|
- logs:CreateLogStream
|
|
- logs:PutLogEvents
|
|
Resource: "*"
|
|
|
|
functions:
|
|
errorHandlingFunction:
|
|
handler: ErrorHandling
|
|
memorySize: 128 |