AWS CDK Supported Programming Languages

Answer Correct answer: A, C — AWS Cloud Development Kit (AWS CDK) supports TypeScript and Python among its first-class languages.

Which programming languages does AWS Cloud Development Kit (AWS CDK) currently support? (Choose two.)

  1. Python Correct Answer
  2. Swift
  3. TypeScript Correct Answer
  4. Ruby
  5. PHP

Community Votes

AC
100%

100% of anonymous learners picked answer AC. Votes are pick records left by other test-takers — they are not the verified answer.

Community Insight

The question tests knowledge of AWS CDK's language ecosystem, with the common trap being confusion with other AWS SDKs or general cloud tools that might support different languages like Ruby or PHP.

This question addresses the programming languages supported by the AWS Cloud Development Kit (AWS CDK). It establishes that TypeScript and Python are among the officially supported first-class languages for infrastructure-as-code.

Learners often incorrectly select Ruby or PHP, assuming broader language support similar to older IaC tools or general-purpose cloud APIs, rather than knowing the specific first-class list.

Community Discussion (3 comments)

alokdixit2006 👍 1 Selected: AC
The AWS Cloud Development Kit (AWS CDK) supports: JavaScript/TypeScript, Python, Java, and .NET
d00b229 👍 2
The AWS Cloud Development Kit (AWS CDK) supports: Python TypeScript Java C#/.NET Languages like Swift, Ruby, and PHP are not supported by AWS CDK at this time.
KhanhNT 👍 2 Selected: AC
https://docs.aws.amazon.com/cdk/v2/guide/languages.html The AWS Cloud Development Kit (AWS CDK) has first-class support for the following general-purpose programming languages: TypeScript JavaScript Python Java C# Go

Comments & Corrections

No comments yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Submitted for moderation before publishing. Keep it helpful and respectful.

Expert Analysis

Why the Answer Is Correct

The AWS Cloud Development Kit (AWS CDK) provides first-class support for TypeScript, JavaScript, Python, Java, C#/.NET, and Go. Therefore, selecting TypeScript (C) and Python (A) is correct as they are both primary languages for CDK development. The documentation explicitly lists these as the core supported environments.

Why the Other Options Are Wrong

Swift (B), Ruby (D), and PHP (E) are not currently supported by AWS CDK. While you can technically use the AWS CLI or SDKs in any language, CDK constructs are specifically built and typed for the supported set. Choosing these options reflects a misunderstanding of the tool's current capabilities.

Community Comment Notes

Community consensus strongly supports AC. As user d00b229 noted, "Languages like Swift, Ruby, and PHP are not supported by AWS CDK at this time." Another comment provided a direct link to the official docs confirming the list includes TypeScript, JavaScript, Python, Java, C#, and Go.

Official Reference

Exam Strategy

Memorize the list of first-class languages for AWS CDK: TypeScript, JavaScript, Python, Java, C#, and Go. Do not assume support for languages commonly used in web development like Ruby or PHP unless explicitly stated in recent updates.

Frequently Asked Questions

Does AWS CDK support Java?

Yes, Java is a first-class language supported by AWS CDK, along with TypeScript, JavaScript, Python, C#, and Go.

Can I use Ruby for AWS CDK?

No, Ruby is not currently a supported language for AWS CDK. You must use one of the first-class languages listed in the documentation.

More CLF-C02 FAQ →

Related Analysis

Practice All CLF-C02 Questions

Access 120 questions with complete answers and detailed explanations.

View Full CLF-C02 Practice Test →

← Back to CLF-C02 Study Guide