AWS Api Gateway to SQS, step-by-step screenshots

Lukas Liesis
Nov 5, 2022

https://us-east-1.console.aws.amazon.com/apigateway/main/apis?region=us-east-1

Create Execution Role at IAM 1 / 6

Create Execution Role at IAM 2 / 6

Create Execution Role at IAM 3 / 6

Create Execution Role at IAM 4 / 6

Create Execution Role at IAM 5 / 6

Create Execution Role at IAM 6 / 6

Copy Role ARN for next form:

Region needs to match with SQS region. Path override should look like: 01234576789/myQueue
Make sure to add quotes:Content-Type 'application/x-www-form-urlencoded'
application/json
Action=SendMessage&MessageBody=$input.body&MessageAttribute.1.Name=path&MessageAttribute.1.Value.DataType=String&MessageAttribute.1.Value.StringValue=$context.path

--

--

Lukas Liesis

2 decades exp of building business value through web tech. Has master's degree in Physics. Built startups with ex-Googlers. Was world’s top 3% developer.