mirror of
https://github.com/serverless/serverless.git
synced 2025-12-08 19:46:03 +00:00
24 lines
429 B
YAML
24 lines
429 B
YAML
service: service
|
|
|
|
configValidationMode: error
|
|
|
|
provider:
|
|
name: aws
|
|
runtime: nodejs16.x
|
|
versionFunctions: false
|
|
|
|
functions:
|
|
sqsBasic:
|
|
handler: core.sqsBasic
|
|
events:
|
|
- sqs:
|
|
arn:
|
|
Fn::Join:
|
|
- ':'
|
|
- - arn
|
|
- aws
|
|
- sqs
|
|
- Ref: AWS::Region
|
|
- Ref: AWS::AccountId
|
|
- ${self:service}-basic
|