Amazon API Gateway - manages (access control, traffic management etc) of Amazon custom API's
Questions tagged [amazon-gateway]
30 questions
5
votes
2 answers
How to set VPC for API gateway v2 websocket connection using CloudFormation
Unable to define Integration type 'VPC link' for a websocket route integration request using Cloudformation.
We don't use serverless, but have existing microservices delivering websocket functionality.
These microservices run on a private network…

frederickd
- 331
- 2
- 6
4
votes
1 answer
Maximum size of payload for an AWS Lambda Request / Event?
What is the max payload for a REST post request to AWS lamda?
This question is essentially this question, but for AWS Lambda HTTP events.
Also does AWS Gateway add any restriction of payload size?

Ole
- 41,793
- 59
- 191
- 359
3
votes
2 answers
Strip header on AWS API gateway
I've an AWS API gateway in front of a REST API service. I would like to remove one/some HTTP headers when I forward the request to the origin.
I know how to do this using a lambda but I'm just wondering is there is something built in.

Hpatoio
- 1,785
- 1
- 15
- 22
3
votes
1 answer
EC2 could not resolve private API Gateway
The current set up is:
EC2 instance deployed in a VPC in subnet A.
VPC Endpoint for execute-api in the same VPC in the same subnet (A)
Private API Gateway with a resource policy to Allow both the VPC and VPC Endpoint to invoke the API
VPC has all…

oasisofthestar
- 65
- 8
2
votes
1 answer
Get detailed error message from AWS gateway validator in case of using multiple schemas for one endpoint
I'm using an openapi specification, which configures AWS gateway. I'm also using request validation. It works fine with informative error messages if I print out $context.error.validationErrorString in case of 4xx error messages. (In case of missing…

Lespaulka001
- 89
- 7
2
votes
2 answers
AWS ApiGateway VPC Link vs HTTP Proxy integration
Well, I'm creating a AWS ApiGateway and I can't understand when I should use integration type HTTP_PROXY or VPC_LINK, both ask me URL to proxy.
I searched about it but can't found any concrect and simple example, when use one or other ?

Ronaldo Lanhellas
- 2,975
- 5
- 46
- 92
2
votes
0 answers
Connect to EC2 instance with a private IP address via a VPN
I've created a VPC with IPv4 CIDR 172.16.0.0/16, next I've created three subnets:
subnet_1 172.16.0.0/20
subnet_2 172.16.16.0/20
subnet_3 172.16.32.0/20
Next I created an Internet Gateway attached to the VPC.
At this point I've created an EC2…

Dennis A. Boanini
- 477
- 1
- 5
- 19
2
votes
3 answers
Allowing Cognito non verified users to sign in?
Suppose a Cognito user forgets to verify their account (Via email) and attempts to sign in. Can they still sign and and can the API check that their account needs to be verified? Also is there an API that can be invoke that will invoke a new…

Ole
- 41,793
- 59
- 191
- 359
1
vote
2 answers
Does an AWS routing table only affect outbound traffic?
According to the AWS docs,
If a subnet is associated with a route table that has a route to an internet gateway, it's known as a public subnet
However, in my understanding, the subnet routing table only affects outbound traffic from the subnet, is…

gebbissimo
- 2,137
- 2
- 25
- 35
1
vote
1 answer
Creating a Route 53 pointing to AWS ApiGateway
Well, I have a AWS::ApiGateway::RestApi resource that generates always a url like this: https://{GATEWAYID}.execute-api.{REGION}.amazonaws.com/{STAGE}
So, I created I CNAME in Route 53, with the following characteristics:
CnameRoute53Api:
…

Ronaldo Lanhellas
- 2,975
- 5
- 46
- 92
1
vote
1 answer
Host a serverless contact page using Amazon Cloudfront?
I want to host a serverless contact page on Amazon Cloudfront.
I've followed this tutorial to the tee:
Processing a Contact Form Using AWS Cloudfront...
There are many steps, but the most important things that I would like to highlight that I have…

chris
- 11
- 3
1
vote
1 answer
Does the AWS Amplify push package up the entire node_modules folder?
When we run amplify push does amplify package up the entire node_modules folder, or is that recreated on the AWS side using package.json?
Also asked this question here:
https://github.com/aws-amplify/amplify-cli/issues/4018

Ole
- 41,793
- 59
- 191
- 359
1
vote
1 answer
The right way to update after making changes to AWS Amplify Express Server?
When we make changes to a function in the express server, what is the right way to update using the AWS Amplify CLI?
For example I have a function like this:
app.get('/customers', function(req, res) {...}
And initially after the first push it…

Ole
- 41,793
- 59
- 191
- 359
1
vote
0 answers
Uploading an image from Angular 8 through AWS API Gateway, Lambda to S3
I have this mostly working, unfortunately the file which starts off as a .png, becomes garbage by the time its on S3.
On the Angular side, I perform the upload with:
public uploadAsset(file: File, pointer: string):
{ name: string, url: string,…

Michael Coxon
- 3,337
- 8
- 46
- 68
1
vote
1 answer
Amazon API Gateway - Axio GET VueJS - No Response Body
EDIT: Postman/Browsers received valid response bodies from Amazon API Gateway endpoint. Other web applications do not. Basic GET with no headers. No authentication required on API endpoint. JSON data.
OP:I'm leveraging Axios for CRUD in a new VueJS…

Christopher Cain
- 21
- 4