Skip to content

Instantly share code, notes, and snippets.

@richardgrantserverless
Created April 7, 2022 14:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save richardgrantserverless/6d1b49108a1be595b948c497f099d2f8 to your computer and use it in GitHub Desktop.
Save richardgrantserverless/6d1b49108a1be595b948c497f099d2f8 to your computer and use it in GitHub Desktop.
# serverless.yml
service: my-app
provider:  
name: aws
functions:  
worker:    
handler: worker.handler    
events:      
- sqs:
arn: <ARN of the SQS queue>
batchSize: 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment