Skip to content

Read this on the main serverless docs site

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