Home > Blockchain >  How to construct AWS CloudFormation integration URI for AWS ApiGateway integration with S3, SQS, SNS
How to construct AWS CloudFormation integration URI for AWS ApiGateway integration with S3, SQS, SNS

Time:10-03

Is there some place with samples on how to make a bunch of actions through ApiGateway integration? Looking how to upload object to S3, push item to SQS & SNS queues, make DynamoDB call and many other things, trying to find documentation on how to construct those paths.

I'm using CloudFormation template, which uses integration URI to setup this AWS ApiGateway integration with AWS services.

Can't find documentation talking how to make these URI paths for all kind of services.

enter image description here enter image description here

CodePudding user response:

When setting up the integration request with another AWS service action, the integration request URI is also an ARN.

For example, for the integration with the GetBucket action of Amazon S3, the integration request URI is an ARN of the following format:

arn:aws:apigateway:api-region:s3:path

See more: enter image description here

From these documentation samples & descriptions it seems there are 2 type of APIs - action based and path based.

Using Action based API

  • Related