feature: Add support for a AWS China Region API service
See original GitHub issueHi, @einaregilsson !
Thanks for creating this tool to create Elastic beanstalk deployments.
I’d like to request a feature that allows the consumer to modify the awsApiRequest
function options so that we can modify the host. For global regions this works fine as shown below:
However in China, regions like cn-north-1
and cn-northwest-1
regions have their API endpoints pointing to ${service}.${region}.amazonaws.com.cn
(Note the .cn
TLD)
Since I needed this on a project for work, I was wondering if there’s a way to be able to implement this on your library. I’ll be happy to open a PR.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Getting Started with AWS Services in AWS China (Beijing ...
This blog provides general information to help you understand and get started using AWS services in Beijing and Ningxia Regions in China.
Read more >Endpoints and ARNs for Amazon Web Services in China
To access Amazon services and resources, you use endpoints and Amazon Resource Names (ARNs).
Read more >About the Amazon Web Services Support API
The Amazon Web Services Support API provides access to some of the features in the Amazon Support Center . The API provides two...
Read more >Amazon Web Services in China Support and Other Resources
Amazon Web Services in China offers a variety of support options, including one-on-one troubleshooting, Amazon Trusted Advisor, a discussion forum, ...
Read more >Beijing Region Endpoints - Getting Started with Amazon Web ...
Amazon Service China (Beijing) Endpoint Protocol
Amazon API Gateway apigateway.cn‑north‑1.amazonaws.com.cn HTTPS
API Gateway Dataplane execute‑api.cn‑north‑1.amazonaws.com.cn HTTPS
API Gateway Dataplane V2 execute‑api.cn‑north‑1.amazonaws.com.cn HTTPS
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok, great, I’ll put it into the next release then!
Hi
Do you know if it’s only in Chinese regions that this is the case? If so I’d probably just put in code right in
aws-api-request.js
that checks if region starts withcn-
and adds.cn
to the hostname directly there. If it’s in more regions I might have to add a whole parameter for the hostname to the action.