Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do you use APIGatewayV2 HTTP API with CDK to save 70% cost on API? #212

Open
bionicles opened this issue Dec 27, 2019 · 7 comments
Open
Labels
blocked Work is blocked on this issue for this codebase. Other labels or comments may indicate why. effort/medium Medium work item – a couple days of effort feature-request A feature should be added or improved.

Comments

@bionicles
Copy link

bionicles commented Dec 27, 2019

🚀 Feature Request

Description

We want to use the new HTTP API with AWS Lambda because it’s simpler, lower latency, and faster, but it’s not documented

Proposed Solution

A construct to deploy a simple lambda with http api (node js)

@bionicles bionicles added the feature-request A feature should be added or improved. label Dec 27, 2019
@bionicles
Copy link
Author

bionicles commented Dec 27, 2019

@bionicles
Copy link
Author

@bionicles bionicles changed the title Please document HTTP Api Lambda How do you use APIGatewayV2 HTTP API with CDK to save 70% cost on API? Jan 3, 2020
@bionicles
Copy link
Author

APIGatewayV2 was just split into its own package today

aws/aws-cdk@d58667e

@rhboyd
Copy link
Contributor

rhboyd commented Jan 16, 2020

Because this is an experimental module, you would most likely need to use the underlying L1 Constructs to build an API Gateway HTTP API. Given that the feature itself is still in Beta preview and may experience breaking changes, I would doubt many people would be willing to do the work to build solid Construct on top of it until it goes GA.

@NGL321 NGL321 added blocked Work is blocked on this issue for this codebase. Other labels or comments may indicate why. effort/medium Medium work item – a couple days of effort labels Mar 4, 2020
@NGL321
Copy link
Contributor

NGL321 commented Mar 4, 2020

Hey @bionicles,
Richard is correct in that a specific L1 construct implementation doesnt make a lot of sense for an example for the moment.
That said, I think once there is an L2 for ApiGatewayV2, this is a perfect example to add.

With that in mind, Im going to delay this for execution once the L2 is completed

@aang7
Copy link

aang7 commented Sep 11, 2020

Yet there is not an example? 😢

@ghost
Copy link

ghost commented Jan 18, 2021

can someone provide example for "custom lambda authorizer with http api"

@NGL321 NGL321 removed their assignment Jul 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Work is blocked on this issue for this codebase. Other labels or comments may indicate why. effort/medium Medium work item – a couple days of effort feature-request A feature should be added or improved.
Projects
None yet
Development

No branches or pull requests

4 participants