aws-samples / aws-cdk-examples

Example projects using the AWS CDK
Apache License 2.0
4.95k stars 2.1k forks source link

Adding new sample: api-gateway-lambda-response-static-page #1002

Closed fanhongy closed 3 months ago

fanhongy commented 3 months ago

build a new sample that use API Gateway, Lambda function and DynamoDB. The Lambda function will query a preloaded DDB and send back the result as a html page in response as a static page.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

kaiz-io commented 3 months ago

@fanhongy This looks very similar to an example that we already have in python apigw-http-api-lambda-dynamodb-python-cdk

I do see that you are returning a html in your handler but that is more of an AWS API Gateway response difference than demonstrating CDK concepts.

Please reopen/message me if you think otherwise.