This is the diagram for this project
A Lambda function with an API Gateway endpoint in front of it. When users hit URL endpoint, they receive a greeting from our function.
- API Gateway expose a public HTTP endpoint that anyone on the internet can hit with an HTTP client such as curl or a web browser.
- The lambda function is mounted to the root of the API using Lambda proxy integration. This means that any request to any URL path will be proxied directly to our Lambda function, and the response from the function will be returned back to the user.
The cdk.json file tells the CDK Toolkit how to execute your app.
npm run buildcompile typescript to jsnpm run watchwatch for changes and compilenpm run testperform the jest unit testscdk deploydeploy this stack to your default AWS account/regioncdk diffcompare deployed stack with current statecdk synthemits the synthesized CloudFormation template
