hello-nodejs | Node.js 轻松学 基础篇 入门 - Node
kandi X-RAY | hello-nodejs Summary
kandi X-RAY | hello-nodejs Summary
Node.js 轻松学 基础篇 入门
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of hello-nodejs
hello-nodejs Key Features
hello-nodejs Examples and Code Snippets
Community Discussions
Trending Discussions on hello-nodejs
QUESTION
I have an apparently-simple requirement to create a proxy resource in SAM (Amazon's Serverless Application Model). So simple in fact that Amazon's documentation appears to leave this as an exercise to the reader!
I want to create an AWS API Gateway catch-all endpoint to proxy everything to another HTTP service.
In the AWS Console, the configuration I am trying to build looks as follows:
I have seen this excellent post by Christian Johansen and his related Stack Overflow question here for how to do the same thing in CloudFormation. I suppose I could just use that code in SAM, however, SAM has its implicit and explicit APIs, so I want to avoid creating explicit resources if the "right way" is to refer to implicit resources.
Does anyone know how to do this?
...ANSWER
Answered 2019-Feb-02 at 14:04After a lot of playing around, I believe I found the answer in an example here. The diff relative to the Hello World example that SAM sets up for you out of the box is:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install hello-nodejs
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page