skip to Main Content

Is it possible to configure CloudFront to send incoming HTTP requests straight into SQS, without using EC2 or AWS Lambda for example?

I am looking for the same kind of integration between API Gateway -> SQS, except with CloudFront.

2

Answers


  1. No it’s not possible. You would need to use a Lambda function to do that.

    Login or Signup to reply.
  2. As of today (August 2023), there’s no direct integration between Amazon CloudFront and Amazon SQS.

    However, you can use CloudFront -> API Gateway -> SQS.

    To get started, have a look at this AWS Solutions Construct, showing how to integrate API Gateway with SQS (this is a CDK construct, however, it provides all the details necessary to derive the details for other deployment methods).

    Once you have set this up, you can use the API Gateway resource as a CloudFront origin.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search