mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
36 lines
760 B
YAML
36 lines
760 B
YAML
service: service
|
|
|
|
configValidationMode: error
|
|
|
|
provider:
|
|
name: aws
|
|
runtime: nodejs16.x
|
|
versionFunctions: false
|
|
|
|
functions:
|
|
provisionedFunc:
|
|
handler: core.handler
|
|
provisionedConcurrency: 1
|
|
events:
|
|
- stream:
|
|
type: kinesis
|
|
arn:
|
|
Fn::Join:
|
|
- ':'
|
|
- - arn
|
|
- aws
|
|
- kinesis
|
|
- Ref: AWS::Region
|
|
- Ref: AWS::AccountId
|
|
- stream/${self:service}-kinesis
|
|
- sqs:
|
|
arn:
|
|
Fn::Join:
|
|
- ':'
|
|
- - arn
|
|
- aws
|
|
- sqs
|
|
- Ref: AWS::Region
|
|
- Ref: AWS::AccountId
|
|
- ${self:service}-provisioned
|