- Newest
- Most votes
- Most comments
Hi
Please try this solution.
To integrate an API Gateway endpoint with an SQS queue, you need to create an IAM role that allows API Gateway to send messages to the SQS queue. Start by navigating to the IAM Console, create a new role, and select API Gateway as the trusted entity. Attach the AmazonSQSFullAccess policy or create a custom policy that grants the sqs:SendMessage permission to your specific SQS queue. After creating the role, go to the API Gateway Console, configure your API's integration request to use AWS Service, select Simple Queue Service (SQS), and provide the necessary details such as the queue URL. Finally, in the integration settings, specify the ARN of the IAM role you created, and deploy your API. This setup allows API Gateway to assume the role and send messages to the SQS queue.
please look at Repost link
https://repost.aws/knowledge-center/api-gateway-rest-api-sqs-errors
Hi, Please follow below document very helpful to you
https://repost.aws/knowledge-center/api-gateway-rest-api-sqs-errors
Relevant content
- asked 9 months ago
- asked a year ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 7 months ago