Questions tagged [amazon-api-gateway]
69 questions
0
votes
1 answer
Unable to authorize Amazon API Gateway using API Key
As per amazon's documentation (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-setup-api-key-with-console.html) I am supposed to see a dropdown near API KEY. Although I have admin access I don't get such an option.
Please…

Surya
- 253
- 1
- 2
- 8
0
votes
0 answers
How to block a request which does not has a header using Amazon Web Services
My application back-end was laid on AWS Lambda and exposing API's using API Gateway. And forntend on CloudFront. I want to block a request which does not has a header using AWS service. Can anyone suggest me which AWS service will helpful to do this…

Gayathri K
- 139
- 5
0
votes
1 answer
Does basepath mapping create a CloudFront Distribution
Does basepath mapping on an API in API gateway use a 'hidden' cloudfront distribution?
I have an API on API Gateway, with base path mappings on a domain. However, this doesn't go through cloudfront--and thus no https, only http.
When I try to create…

keithRozario
- 146
- 7
0
votes
0 answers
AWS API Gateway: self-signed cert for backend HTTP endpoint integration
I have a simple AWS API gateway endpoint. It accepts an https GET request, this is passed to a back-end https API via an integraiton request, and returns simple JSON.
This works great when we hit a back-end with an SSL cert from a trusted 3rd…

Mr.Budris
- 215
- 1
- 3
- 10
0
votes
2 answers
About an idea to parry DDoS attacks
Background: I'm building a web application using Amazon API Gateway, Amazon S3, AWS Lambda and so on.
Note: If you don't know about AWS, any pieces of advice would be highly appreciated.
Searching how to protect API Gateway from DDoS attacks, I've…

Nigiri
- 103
- 2
0
votes
0 answers
How do I have the root of an AWS API gateway reject methods other than GET and POST
I have an API using lambdas and deployed in AWS. The API is coded in .Net Core and the front is coded in angular15.
I need that any method that is not GET or POST be rejected when is called from the base URL of the web application. When I test the…

Kenzo_Gilead
- 105
- 6
0
votes
1 answer
Using S3 instead of MinIO for video management
I am relatively new to AWS so I wanted to reach out to the gurus in the community to get some advice on architecture, and I thought I would share my thoughts.
I am building out cloud infrastructure for a Video Management Software for a Body Worn…

Jeremy Leys
- 1
- 1
0
votes
0 answers
AWS ApiGateway custom domain configured in us-east-1 not working in California
I have a regional AWS ApiGateway instance configured in the us-east-1 region with a custom domain name (api.stage.aws.stckdapp.com).
It's working fine accessed from Toronto, ON, Canada, but for some reason the DNS resolution is failing when tried…
0
votes
0 answers
Can I block an API Gateway resource for some API key?
I have an API Gateway with an API configured that requires an API Key. Now my question is, among all the get/post resources there are, can I make that for a specific API Key, this key won't be able to connect to some of them?
I know I could check it…

Learning from masters
- 143
- 1
- 5
0
votes
0 answers
AWS SAM - cannot create stack with api gateway using stage variable for invoked lambda version
Ok, previous question about using different lambda versions on different stages here: AWS - lambda versions to different gateway stages?
Now I'm trying to put it all together using AWS SAM cli but still getting an error:
template.yaml
Relevant parts…

fudo
- 141
- 1
- 6
0
votes
0 answers
Store API keys for our API
I'm building an HTTP API with API gateway and want to use API keys for authentication. Since they aren't supported by HTTP APIs, I plan on verifying them manually in a Lambda function.
Where would the best way to store these keys be? I'd rather not…

Max
- 11
- 3
0
votes
1 answer
Any way Nginx can resolve a CNAME (or look up a URL elsewhere) and then redirect to the result?
I've got an AWS API Gateway endpoint with a URL like this:
https://xxxxxxxxxx-vpce-09572222209cd2305.execute-api.us-west-1.amazonaws.com
I want to create an easy to remember alias for that name that I can use in my browser. I've already got an…

CryptoFool
- 121
- 4
0
votes
0 answers
How to redirect all requests to a subpath in an API Gateway of HTTP type
I have an API Gateway with a default route to a lambda, working fine. The lambda has several endpoints (say, /endpoint-1, /endpoint-2) and they are all accessible.
I'd like all HTTP requests, whatever the method, to be redirected to a subpath like…

bolino
- 273
- 3
- 15
0
votes
1 answer
AWS: Multi region APIGateway with single endpoint
I'm trying to design a highly available API. I'd like to deploy the API to multiple regions to increase reliability, but to have a single URL so that clients don't have to use multiple URLs. I'm not concerned with geographic routing.
I'd like to…

marti H
- 1
- 1
0
votes
2 answers
dig +trace: no servers could be reached for my domain?
I am building my app in AWS.
I have deployed my Reactjs frontend project in an EC2 instance. Instead of users from the external internet world visiting my EC2 instance directly, I want to put it behind the AWS API Gateway. So AWS API Gateway would…

Kid_Learning_C
- 143
- 7