AWS CDK: Define cloud infrastructure in code
Programming language abstractions that synthesize into CloudFormation templates.
Learn more about AWS CDK
AWS CDK is an infrastructure-as-code framework that allows developers to define cloud resources using general-purpose programming languages rather than declarative configuration formats. The framework provides high-level constructs and abstractions that map to AWS services, which are then synthesized into CloudFormation templates during a compilation phase. These constructs are organized in a hierarchical tree structure where resources are defined as objects with properties and methods, enabling logic, loops, and conditionals within infrastructure definitions. The framework supports TypeScript, Python, Java, C#, and Go, allowing teams to use familiar language tooling, type checking, and IDE features when building cloud infrastructure. This approach trades the simplicity of pure declarative templates for the expressiveness and reusability benefits of imperative programming constructs.
Multi-language support
Supports TypeScript, Python, Java, .NET, and Go, allowing teams to write infrastructure code in their existing programming languages. Language versions are supported until their vendor-defined end-of-life.
Construct-based composition
Infrastructure is built from reusable components called constructs that encapsulate AWS best practices and can be shared across projects. The AWS Construct Library provides pre-built constructs for AWS services, with stability designations indicating API compatibility guarantees.
CloudFormation synthesis
The CLI synthesizes CDK applications into AWS CloudFormation templates, enabling standard deployment workflows and infrastructure diffing to preview changes before deployment.
import { App, Stack } from 'aws-cdk-lib';
import { Bucket, BlockPublicAccess } from 'aws-cdk-lib/aws-s3';
const app = new App();
const stack = new Stack(app, 'MyStack');
const bucket = new Bucket(stack, 'MyBucket', {
versioned: true,
blockPublicAccess: BlockPublicAccess.BLOCK_ALL
});
app.synth();Breaking changes to bedrock-agentcore interfaces requiring new property implementations.
- –bedrock-agentcore: Interface extensions require new property implementations
- –IGateway now requires gatewayRef getter
- –IGatewayTarget now requires gatewayTargetRef getter
- –IMemory now requires memoryRef getter
Fix intrinsic CloudFormation function token detection in Java.
- –core: intrinsic cfn function tokens are not detected as such in java
Add native OIDC provider support and various EKS, KMS, and Lambda improvements.
- –eks: add OidcProviderNative using L1 and deprecate OpenIdConnectProvider custom resource
- –eks: add support overwriteServiceAccount prop in service account construct
- –kms: make trustAccountIdentities optional in KeyGrants
- –lambda: add observability support for kafka event source mappings
- –update L1 CloudFormation resource definitions
Related Repositories
Discover similar tools and frameworks used by developers
Setup Node
Node.js version management and dependency caching for workflows.
node_exporter
Collects Unix system metrics for Prometheus monitoring.
Temporal
Distributed system for durable workflow execution with automatic failure handling, retries, and state persistence.
Self-Hosting Guide
Guide for self-hosted software, infrastructure, networking, and automation tools.
Blackbox Exporter
Prometheus exporter for blackbox probing of network endpoints over HTTP, TCP, DNS, ICMP, and gRPC protocols.
Related Reading
Guides and comparisons from the Greptile content library
How to Evaluate Code Review Tools: The 4 Step Framework
A 4-step framework for evaluating code review tools on large teams with complex codebases: define what you need, build a shortlist, run a live test, and get developer feedback. Plus a shortlist of tools and how to future-proof your review process.
9 Best Pull Request Automation Tools [2026]
Nine pull request automation tools compared on features, use cases, pricing, and user feedback, so you can work out which one closes the gap between how fast your team writes code and how fast it can review it.
What Is Code Review? (And How to Keep It From Becoming the Bottleneck)
What code review is, how traditional, automated, and AI code review differ, and why review is now the bottleneck as AI writes more code. Plus how to pick a code review tool that catches real bugs.
Best Security-Focused AI Code Review Tools [2026 Guide]
The six best security-focused AI code review tools, compared on SAST, SCA, DAST, and full-repo context, so you can pick the one that fits your codebase and your cycle times.