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개 답변
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
답변함 3달 전
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

답변함 3달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠