Serverless Framework Docs

#AWS SQS

Functions can used as sinks for Knative Eventing event sources such as AWS SQS.

Here's how to setup a function as an event sink for the AWS SQS event source:

functions:
  myFunction:
    handler: gcr.io/knative-releases/github.com/knative/eventing-contrib/cmd/event_display:latest
    events:
      - awsSqs:
          secretName: aws-credentials
          secretKey: credentials
          queue: QUEUE_URL

Have questions?

Head over to the forums to search for your questions and issues or post a new one.