serverless invoke sqs code example
Example: serverless invoke sqs
functions:
hello:
handler: handler.hello
events:
# Provide the ARN of your queue
- sqs: arn:aws:sqs:us-east-1:123456789012:queue1
functions:
hello:
handler: handler.hello
events:
# Provide the ARN of your queue
- sqs: arn:aws:sqs:us-east-1:123456789012:queue1