TransWikia.com

Does AWS CDK support multiple languagues within a project?

Stack Overflow Asked by Jason Vondersmith on February 5, 2021

If I am developing an app using the AWS CDK, can I use one language for the infrastructure and a separate language for my lambda code?

For example, can I create buckets, rules, lambdas etc. with typescript, but then deploy python code within the lambda? Especially considering I may need to pass a newly created bucket to the python code.

One Answer

You can certainly do this. If you take a look at the "serverless" examples for CDK, you'll see that for all of the supported languages the Lambda that is created is built in Node. The Java examples, for example, includes ways to build with the Java CDK and, inside of the project, include the JavaScript code. Python and C# are very similar.

Answered by stdunbar on February 5, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP