Navigate:
AWS CDK
~$AWSDK0.2%

AWS CDK: Define cloud infrastructure in code

Programming language abstractions that synthesize into CloudFormation templates.

LIVE RANKINGS • 12:30 PM • STEADY
OVERALL
#325
55
CLOUD & DEVOPS
#21
5
30 DAY RANKING TREND
ovr#325
·Cloud#21
STARS
12.7K
FORKS
4.4K
7D STARS
+20
7D FORKS
+9
See Repo:
Share:

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.

AWS CDK

1

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.

2

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.

3

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();

vv2.238.0

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
vv2.237.1

Fix intrinsic CloudFormation function token detection in Java.

  • core: intrinsic cfn function tokens are not detected as such in java
vv2.237.0

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


[ EXPLORE MORE ]

Related Repositories

Discover similar tools and frameworks used by developers