Using Typescript CDK For Fargate and API Gateway

0

Hi

This is not as much of a question but an ask. I have an ECS cluster setup running fargate. I want to setup a Rest API using API Gateway as part of my CDK Typescript project.

Can anyone point me at examples for talking to the Fargate services using the RestAPI? A full cdk example for this would be useful. After getting this service setup and working, I need to setup Cognito authentication - hence the need for a Rest base API> I have found samples for the Http API and unfortunately have not been able to adapt the same.

Any guidance on this would be appreciated.

Thank you Damien

2 Answers
0

You can explore the code and adapt it to your needs. The repository is available at https://github.com/aws-samples/http-api-aws-fargate-cdk

profile picture
Jagan
answered 2 months ago
0

Yes I spotted this source code but it is well out of date. Usually I would look at code like this and adapt but there seems to be alot of quirky nuances between the Rest API and the Http API in this case

answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions