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 Risposte
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
con risposta 3 mesi fa
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

con risposta 3 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande