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
Top in Cloud & DevOps
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.