Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. CDK
  3. cdk-organizations

cdk-organizations

MITTypeScriptv0.7.987

An AWS CDK construct library for managing AWS Organizations, including OUs, accounts, and service control policies.

GitHubGitHub
182 stars21 forks0 contributors

What is cdk-organizations?

CDK Organizations is an AWS CDK construct library that provides infrastructure-as-code capabilities for managing AWS Organizations. It allows developers to programmatically create and manage AWS Organizations, organizational units (OUs), member accounts, and service control policies (SCPs) using familiar CDK patterns. The library solves the problem of manually configuring AWS Organizations through the console or CLI by enabling automated, repeatable deployments.

Target Audience

AWS infrastructure engineers, DevOps teams, and platform engineers who manage multi-account AWS environments and want to automate organizational structure using AWS CDK.

Value Proposition

Developers choose CDK Organizations because it provides a type-safe, intuitive way to manage AWS Organizations using infrastructure-as-code principles, eliminating manual console work and enabling version-controlled, repeatable deployments of complex organizational structures.

Overview

Manage AWS organizations, organizational units (OU), accounts and service control policies (SCP).

Use Cases

Best For

  • Automating AWS account creation and management in multi-account environments
  • Defining organizational hierarchies with OUs using infrastructure-as-code
  • Implementing and enforcing service control policies (SCPs) across accounts
  • Setting up delegated administrators for AWS services programmatically
  • Managing AWS Organizations resources alongside other CDK infrastructure
  • Creating reproducible AWS account structures for different environments (dev, staging, prod)

Not Ideal For

  • Teams using Terraform or CloudFormation without AWS CDK
  • Organizations with simple, static account structures that rarely change
  • Projects requiring real-time, dynamic account provisioning outside deployment cycles
  • Environments needing cross-cloud or hybrid cloud management beyond AWS

Pros & Cons

Pros

Type-Safe Infrastructure as Code

Leverages AWS CDK's programming language support for compile-time checking and autocompletion, as highlighted in the Philosophy section promoting type-safe management.

Comprehensive Feature Coverage

Supports all key AWS Organizations features including OUs, accounts, SCPs, tag policies, and delegated administrators, detailed in the Key Features list and Usage examples.

Multi-Language Support

Available in TypeScript, Python, C#, and Java via package managers like npm, PyPI, and NuGet, making it accessible across different development teams, as shown in the Install section.

Import Existing Resources

Can automatically import existing AWS Organizations, OUs, and accounts using the importOnDuplicate property, reducing migration friction, as mentioned in the Organization and Account usage notes.

Cons

Management Account Dependency

Requires the deploying stack to be in the management account of the AWS Organization, limiting flexibility for deployments from other accounts, as stated in the Limitations section.

Manual Deletion Handling

Does not automatically delete organizations or accounts when constructs are removed; users must manually clean up resources, as admitted in the Usage notes for Organization and Account deletion.

Regional Constraints

Defaults to the us-east-1 endpoint for AWS Organizations operations, which may cause latency or compliance issues, with only partial configuration via environment variables like CDK_AWS_PARTITION, as noted in Limitations.

Complex Initial Setup

Requires pre-configuring an IAM user with AdministratorAccess and exporting credentials, adding overhead compared to simpler CLI tools, as detailed in the Getting Started steps.

Frequently Asked Questions

Quick Stats

Stars182
Forks21
Contributors0
Open Issues19
Last commit5 months ago
CreatedSince 2022

Tags

#aws-constructs#cdk#devops#account#account-management#infrastructure-as-code#cloud-management#aws#cloudformation#aws-cdk#aws-organizations

Built With

T
TypeScript
A
AWS CDK
P
Python
A
AWS CloudFormation
J
Java
C
C++

Included in

CDK2.1k
Auto-fetched 7 hours ago

Related Projects

aws-bootstrap-kitaws-bootstrap-kit

AWS Bootstrap Kit is a deprecated CDK construct library designed to help companies establish AWS environments following best practices from day one. It provides a strongly opinionated framework for creating multi-account setups with integrated identity, networking, and deployment pipelines, enabling scalable cloud foundations without accumulating technical debt. ## Key Features - **Multi-Account AWS Organization** — Automates the creation and configuration of a multi-account AWS Organization structure. - **AWS SSO Integration** — Sets up AWS Single Sign-On for centralized identity and access management across accounts. - **DNS Configuration** — Configures DNS settings as part of the environment setup. - **AWS CodePipeline CI/CD** — Establishes CI/CD pipelines using AWS CodePipeline for automated deployments. - **Opinionated Best Practices** — Embeds AWS-recommended practices for security, scalability, and operational excellence. ## Philosophy The project follows a strongly opinionated approach to ensure companies start with AWS best practices immediately, focusing on scalability and avoiding future technical debt.

Stars104
Forks22
Last commit3 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub