pepperize.cdk-organizations


Namepepperize.cdk-organizations JSON
Version 0.7.768 PyPI version JSON
download
home_pagehttps://github.com/pepperize/cdk-organizations.git
SummaryManage AWS organizations, organizational units (OU), accounts and service control policies (SCP).
upload_time2024-01-01 00:51:39
maintainer
docs_urlNone
authorPatrick Florek<patrick.florek@gmail.com>
requires_python~=3.8
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://makeapullrequest.com)
[![GitHub](https://img.shields.io/github/license/pepperize/cdk-organizations?style=flat-square)](https://github.com/pepperize/cdk-organizations/blob/main/LICENSE)
[![npm (scoped)](https://img.shields.io/npm/v/@pepperize/cdk-organizations?style=flat-square)](https://www.npmjs.com/package/@pepperize/cdk-organizations)
[![PyPI](https://img.shields.io/pypi/v/pepperize.cdk-organizations?style=flat-square)](https://pypi.org/project/pepperize.cdk-organizations/)
[![Nuget](https://img.shields.io/nuget/v/Pepperize.CDK.Organizations?style=flat-square)](https://www.nuget.org/packages/Pepperize.CDK.Organizations/)
[![Sonatype Nexus (Releases)](https://img.shields.io/nexus/r/com.pepperize/cdk-organizations?server=https%3A%2F%2Fs01.oss.sonatype.org%2F&style=flat-square)](https://s01.oss.sonatype.org/content/repositories/releases/com/pepperize/cdk-organizations/)
[![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/pepperize/cdk-organizations/release.yml?branch=main&label=release&style=flat-square)](https://github.com/pepperize/cdk-organizations/actions/workflows/release.yml)
[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/pepperize/cdk-organizations?sort=semver&style=flat-square)](https://github.com/pepperize/cdk-organizations/releases)
[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod&style=flat-square)](https://gitpod.io/#https://github.com/pepperize/cdk-organizations)

# CDK Organizations [![Mentioned in Awesome CDK](https://awesome.re/mentioned-badge.svg)](https://github.com/kolomied/awesome-cdk)

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

Features:

* [Organization](https://github.com/pepperize/cdk-organizations#organization)
* [Organizational Unit (OU)](https://github.com/pepperize/cdk-organizations#organizational-unit-ou)
* [Account](https://github.com/pepperize/cdk-organizations#account)
* [Delegated Administrator](https://github.com/pepperize/cdk-organizations#delegated-administrator)
* [Trusted Service](https://github.com/pepperize/cdk-organizations#enable-an-aws-service-trusted-service)
* [Policies](https://github.com/pepperize/cdk-organizations#policy), [PolicyTypes](https://github.com/pepperize/cdk-organizations#enable-a-policy-type), [PolicyAttachment](https://github.com/pepperize/cdk-organizations#policyattachment)
* [Tagging](https://github.com/pepperize/cdk-organizations#tagging-resources)

[![View on Construct Hub](https://constructs.dev/badge?package=%40pepperize%2Fcdk-organizations)](https://constructs.dev/packages/@pepperize/cdk-organizations)

## Install

### TypeScript

```shell
npm install @pepperize/cdk-organizations
```

or

```shell
yarn add @pepperize/cdk-organizations
```

### Python

```shell
pip install pepperize.cdk-organizations
```

### C# / .Net

```
dotnet add package Pepperize.CDK.Organizations
```

### Java

```xml
<dependency>
  <groupId>com.pepperize</groupId>
  <artifactId>cdk-organizations</artifactId>
  <version>${cdkOrganizations.version}</version>
</dependency>
```

## Contributing

Contributions of all kinds are welcome :rocket: Check out our [contributor's guide](https://github.com/pepperize/cdk-organizations/blob/main/CONTRIBUTING.md).

For a quick start, [check out](https://github.com/pepperize/cdk-organizations/fork) a development environment:

```shell
git clone git@github.com:pepperize/cdk-organizations
cd cdk-organizations
# install dependencies
yarn
# build with projen
yarn build
```

## Getting Started

1. Create a new account

   [Signup for AWS](https://portal.aws.amazon.com/billing/signup#/start)
2. Prepare an IAM User with `AdministratorAccess`

   To deploy your new organization, you have to create an Administrator with an AccessKey

   * [Creating your first IAM admin user and user group](https://docs.aws.amazon.com/IAM/latest/UserGuide/getting-started_create-admin-group.html)
   * [Managing access keys for IAM users](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html#Using_CreateAccessKey)
3. Create a new CDK TypeScript App project with [projen](https://github.com/projen/projen)

   ```shell
   mkdir my-project
   cd my-project
   git init -b main
   npx projen new awscdk-app-ts
   ```
4. Add `@pepperize/cdk-organizations` to your dependencies in `.projenrc.js`

   ```python
   const project = new awscdk.AwsCdkTypeScriptApp({
     //...
     deps: ["@pepperize/cdk-organizations"],
   });
   ```
5. Install the dependency

   ```shell
   npx projen
   ```
6. Create a stack

   ```python
   import { Account, Organization, OrganizationalUnit } from "@pepperize/cdk-organizations";
   import { Stack } from "aws-cdk-lib";

   export class OrganizationStack extends Stack {
     constructor(scope: Construct, id: string, props: StackProps = {}) {
       super(scope, id, props);

       // Create your organization
       const organization = new Organization(stack, "Organization", {});

       // Create an organizational unit (OU)
       const organizationUnit = new OrganizationalUnit(stack, "OrganizationalUnit", {
         organizationalUnitName: "MyFirstOU",
         parent: organization.root,
       });

       // Create an account
       const account = new Account(stack, "Account", {
         accountName: "MyFirstAccount",
         email: "<your email for the member account>",
         parent: organizationUnit,
       });
     }
   }
   ```
7. Configure your AWS CLI to deploy

   * [Configuring the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html)
   * [AWSume](https://awsu.me/)

   The easiest is to export your access key

   ```shell
   export AWS_ACCESS_KEY_ID=<your created access key id>
   export AWS_SECRET_ACCESS_KEY=<your created secret access key>
   ```
8. Deploy your first AWS organization

   ```shell
   export CDK_DEFAULT_REGION=<your AWS region>
   export CDK_DEFAULT_ACCOUNT=<your AWS account id>
   ```

   ```shell
   yarn deploy
   ```

## Usage

### Organization

To create a new organization or import an existing organization, add the following construct to your stack:

```python
const organization = new Organization(stack, "Organization", {
  featureSet: FeatureSet.ALL, // (default) required later on to enable SCPs, enable AWS services or delegate an administrator account
});
organization.root; // The organization's root is automatically created
```

* `FeatureSet.ALL` is required for advanced features like Service Control Policies (SCP) and is the [preferred way to work with AWS Organizations](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html)
* The account which deploys the stack, will automatically become the management account of the new organization.
* If an organization already exists, it will be imported automatically. You can disable this behaviour by passing `importOnDuplicate: false` in the props.
* If the construct is removed from the stack, the organization will remain and must be deleted manually. For deletion of an organization you must previously remove all the member accounts, OUs, and policies from the organization. [Deleting the organization by removing the management account](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_delete.html)
* An organization root is automatically created for you when you create the new organization.

See [IOrganization](https://github.com/pepperize/cdk-organizations/blob/main/API.md#@pepperize/cdk-organizations.IOrganization)

### Organization Principal

To retrieve the AWS IAM organization principal in a member account, add the following to any construct:

```
const organization = Organization.of(scope, "Organization");
organization.principal; // The AWS IAM organization principal
```

* This helper construct can be used in any member account in the organization.

See [AWS Organization API Reference - DescribeOrganization](https://docs.aws.amazon.com/organizations/latest/APIReference/API_DescribeOrganization.html)

### Organizational Unit (OU)

To create a new organizational unit (OU), add the following construct to your stack:

```python
const organizationUnit = new OrganizationalUnit(stack, "Organization", {
  organizationalUnitName: "Project2",
  parent: organization.root,
});
```

* The parent of an organizational unit (OU) can be either the organization's root or another OU within the organization.
* An organizational unit (OU) can't be moved. You have to create a new OU first, move all the accounts and then delete the old OU.
* For deletion of an organizational unit (OU) you must first move all accounts out of the OU and any child OUs, and then you can delete the child OUs. [Deleting an organizational unit](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_ous.html#delete-ou)

See [IOrganizationalUnit](https://github.com/pepperize/cdk-organizations/blob/main/API.md#@pepperize/cdk-organizations.IOrganizationalUnit)

#### Organizational Unit (OU) Properties

* `importOnDuplicate` If an organizational unit (OU) with the name exists in the parent, it will be imported.
* `removalPolicy` Default `RemovalPolicy.Retain` If you set `removalPolicy` to `RemovalPolicy.destroy`, the organizational unit (OU) will be deleted on Cloudformation delete event.

See [OrganizationalUnitProps](https://github.com/pepperize/cdk-organizations/blob/main/API.md#@pepperize/cdk-organizations.OrganizationalUnitProps)

### Account

To create a new account, add the following construct to your stack:

```python
new Account(stack, "Account", {
  accountName: "MyAccount",
  email: "info@pepperize.com",
  parent: organization.root,
});
```

* The email address must not already be associated with another AWS account. You may suffix the email address, i.e. `info+account-123456789012@pepperize.com`.
* The AWS Organizations supports only a one account creation `IN_PROGRESS`. Ensure account creation by using `account2.node.addDependency(account1)` [dependency relationship](https://docs.aws.amazon.com/cdk/api/v1/docs/core-readme.html#dependencies).
* An account will be created and moved to the parent, if the parent is an organizational unit (OU).
* An account can only be created from within the management account.

See [IAccount](https://github.com/pepperize/cdk-organizations/blob/main/API.md#@pepperize/cdk-organizations.IAccount)

#### Account Properties

* `importOnDuplicate` If an account with the same email address exists in the organization, it will be imported.
* `removalPolicy` Default `RemovalPolicy.Retain` If you set `removalPolicy` to `RemovalPolicy.destroy`, the account will be closed. [Closing an AWS account](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_close.html)
* `iamUserAccessToBilling` Default `IamUserAccessToBilling.ALLOW` If you set `iamUserAccessToBilling` to `ALLOW`, IAM users and roles that have appropriate permissions can view billing information for the account.
* `roleName` Default `OrganizationAccountAccessRole` is preconfigures in the newly created account and grants users in the management account administrator permissions in the new member account.

See [AccountProps](https://github.com/pepperize/cdk-organizations/blob/main/API.md#@pepperize/cdk-organizations.AccountProps)

### Delegated Administrator

A compatible AWS service (trusted service) can register an AWS member account in the organization as an administrator in the organization on your behalf. To enable an AWS account as administrator of that trusted in your organization call `delegateAdministrator` on your account:

```python
const account = new Account(stack, "Account", {
  accountName: "StackSetsDelegatedAdministrator",
  email: "info@pepperize.com",
});
account.delegateAdministrator("stacksets.amazonaws.com");
```

* [AWS services that support Delegated Administrator](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services_list.html)
* To be able to use Delegated Administrator, your organization must have [all features](https://github.com/pepperize/cdk-organizations/blob/main/API.md#@pepperize/cdk-organizations.FeatureSet) enabled.

See [DelegatedAdministrator](https://github.com/pepperize/cdk-organizations/blob/main/API.md#@pepperize/cdk-organizations.DelegatedAdministrator)

### Enable an AWS Service (trusted service)

To enable trusted access for a supported AWS service (trusted service), which performs tasks in your organization and its accounts on your behalf, call `enableAwsService` on your organization:

```python
const organization = new Organization(stack, "Organization", {
  featureSet: FeatureSet.ALL, // (default) the organization must be created with all features enabled
});
organization.enableAwsServiceAccess("ssm.amazonaws.com");
```

* To enable trusted access, you must have [all features](https://github.com/pepperize/cdk-organizations/blob/main/API.md#@pepperize/cdk-organizations.FeatureSet) enabled.
* It's recommended to use only the trusted service's console [How to enable or disable trusted access](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html#orgs_how-to-enable-disable-trusted-access)
* [AWS services that you can use with AWS Organizations](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services_list.html)

See [EnableAwsServiceAccess](https://github.com/pepperize/cdk-organizations/blob/main/API.md#@pepperize/cdk-organizations.EnableAwsServiceAccess)

### Enable a Policy Type

To enable a policy type call `enablePolicyType` on your organization.

```python
const organization = new Organization(stack, "Organization", {
  featureSet: FeatureSet.ALL, // (default) the organization must be created with all features enabled
});
organization.enablePolicyType(PolicyType.SERVICE_CONTROL_POLICY);
organization.enablePolicyType(PolicyType.TAG_POLICY);
organization.enablePolicyType(PolicyType.BACKUP_POLICY);
organization.enablePolicyType(PolicyType.AISERVICES_OPT_OUT_POLICY);
```

* To create or attach policies later on, you have to [enable all features](https://github.com/pepperize/cdk-organizations/blob/main/API.md#@pepperize/cdk-organizations.FeatureSet) and the [policy type](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies.html#orgs-policy-types) .

See [EnablePolicyType](https://github.com/pepperize/cdk-organizations/blob/main/API.md#enablepolicytype-), [PolicyType](https://github.com/pepperize/cdk-organizations/blob/main/API.md#policytype-).

### Policy

To create a new policy add the following construct to your stack:

```python
new Policy(stack, "Policy", {
  content: '{\n"Version":"2012-10-17","Statement":{\n"Effect":"Allow","Action":"s3:*"\n}\n}',
  description: "Enables admins of attached accounts to delegate all S3 permissions",
  policyName: "AllowAllS3Actions",
  policyType: PolicyType.SERVICE_CONTROL_POLICY,
});
```

* To create or attach policies, you must have [all features](https://github.com/pepperize/cdk-organizations/blob/main/API.md#@pepperize/cdk-organizations.FeatureSet) and the [policy type](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies.html#orgs-policy-types) enabled.
* The [SCP Syntax](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps_syntax.html) is quite similar to IAM policies, but way more limited.

See [Policy](https://github.com/pepperize/cdk-organizations/blob/main/API.md#@pepperize/cdk-organizations.Policy)

### PolicyAttachment

To attach a policy to a root, an organizational unit (OU), or an individual account call `attachPolicy` with the policy to attach:

```python
organization.enablePolicyType(PolicyType.TAG_POLICY);

const policy = new Policy(stack, "Policy", {
  content: '{\n"tags":{\n"CostCenter":{\n"tag_key":{\n"@@assign":"CostCenter"\n}\n}\n}\n}',
  description: "Defines the CostCenter tag key",
  policyName: "CostCenterTag",
  policyType: PolicyType.TAG_POLICY,
});

organization.attachPolicy(policy);
organizationalUnit.attachPolicy(policy);
account.attachPolicy(policy);
```

* To create or attach policies, you must have [all features](https://github.com/pepperize/cdk-organizations/blob/main/API.md#@pepperize/cdk-organizations.FeatureSet) and the [policy type](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies.html#orgs-policy-types) enabled.

### Tagging resources

To tag a resource you may follow the [AWS CDK Developer Guide - Tagging](https://docs.aws.amazon.com/cdk/v2/guide/tagging.html):

You can add one or more tags to the following resources in AWS Organizations.

* Account
* Organization root
* Organizational unit (OU)
* Policy

See [Tagging AWS Organizations resources](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_tagging.html), [ITaggableResource](https://github.com/pepperize/cdk-organizations/blob/main/API.md#@pepperize/cdk-organizations.ITaggableResource)

#### Tagging an organization's root

```python
import { Tags } from "aws-cdk-lib";

const organization = new Organization();
Tags.of(organization.root).add("key", "value");
```

#### Tagging an organizational unit (OU)

```python
import { Tags } from "aws-cdk-lib";

const organizationalUnit = new OrganizationalUnit();
Tags.of(organizationalUnit).add("key", "value");
```

#### Tagging an account

```python
import { Tags } from "aws-cdk-lib";

const account = new Account();
Tags.of(account).add("key", "value");
```

#### Tagging a policy

```python
import { Tags } from "aws-cdk-lib";

const policy = new Policy();
Tags.of(policy).add("key", "value");
```

## Limitations

AWS Organizations has some limitations:

* The stack's account must be the management account of an existing organization.
* The stack's account becomes the management account of the new organization.
* An account belongs to only one organization within a single root.
* [Quotas for AWS Organizations](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)

> AWS Organizations is a global service with service endpoints in `us-east-1`, `us-gov-west-1` and `cn-northwest-1`. Read also
> [Endpoint to call When using the AWS CLI or the AWS SDK](https://docs.aws.amazon.com/organizations/latest/APIReference/Welcome.html).
> Currently all custom resources of this library are hard set to use `us-east-1`.

## Example

See [example](https://github.com/pepperize/cdk-organizations-example/blob/main/src/example-stack.ts)

```python
import { App, Stack } from "aws-cdk-lib/core";
import {
  Account,
  DelegatedAdministrator,
  EnableAwsServiceAccess,
  EnablePolicyType,
  FeatureSet,
  IamUserAccessToBilling,
  Organization,
  OrganizationalUnit,
  Policy,
  PolicyAttachment,
  PolicyType,
} from "@pepperize/cdk-organizations";

const app = new App();
const stack = new Stack(app);

// Create an organization
const organization = new Organization(stack, "Organization", {
  featureSet: FeatureSet.ALL,
});
// Enable AWS Service Access (requires FeatureSet: ALL)
organization.enableAwsServiceAccess("service-abbreviation.amazonaws.com");

// Create an account
const account1 = new Account(stack, "SharedAccount", {
  accountName: "SharedAccount",
  email: "info+shared-account@pepperize.com",
  roleName: "OrganizationAccountAccessRole",
  iamUserAccessToBilling: IamUserAccessToBilling.ALLOW,
  parent: organization.root,
});
// Enable a delegated admin account
account1.delegateAdministrator("service-abbreviation.amazonaws.com");

// Create an OU in the current organizations root
const projects = new OrganizationalUnit(stack, "ProjectsOU", {
  organizationalUnitName: "Projects",
  parent: organization.root,
});
const account2 = new Account(stack, "Project1Account", {
  accountName: "SharedAccount",
  email: "info+project1@pepperize.com",
  parent: projects,
});
account2.node.addDependency(account1);

// Create a nested OU and attach two accounts
const project2 = new OrganizationalUnit(stack, "Project2OU", {
  organizationalUnitName: "Project2",
  parent: projects,
});
const account3 = new Account(stack, "Project2DevAccount", {
  accountName: "Project 2 Dev",
  email: "info+project2-dev@pepperize.com",
  parent: project2,
});
account3.node.addDependency(account2);
const account4 = new Account(stack, "Project2ProdAccount", {
  accountName: "Project 2 Prod",
  email: "info+project2-prod@pepperize.com",
  parent: project2,
});
account4.node.addDependency(account3);

// Enable the service control policy (SCP) type within the organization
organization.enablePolicyType(PolicyType.SERVICE_CONTROL_POLICY);
// Create and attach and Service Control Policy (SCP)
const policy = new Policy(stack, "Policy", {
  content: '{\n"Version":"2012-10-17","Statement":{\n"Effect":"Allow","Action":"s3:*"\n}\n}',
  description: "Enables admins of attached accounts to delegate all S3 permissions",
  policyName: "AllowAllS3Actions",
  policyType: PolicyType.SERVICE_CONTROL_POLICY,
});
organization.attachPolicy(policy);

// Tagging AWS organization resources of this stack
Tags.of(stack).add("tagKey", "tagValue");
```

## References

* [CDK Organizations API Reference](https://github.com/pepperize/cdk-organizations/blob/main/API.md)
* [AWS Account Management Reference Guide](https://docs.aws.amazon.com/accounts/latest/reference/accounts-welcome.html)
* [AWS Organizations User Guide](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_introduction.html)
* [AWS API Reference](https://docs.aws.amazon.com/organizations/latest/APIReference/Welcome.html)
* [AWS CDK Custom Resources](https://docs.aws.amazon.com/cdk/api/v1/docs/custom-resources-readme.html#custom-resources-for-aws-apis)

## Alternatives

* [AWS Bootstrap Kit](https://github.com/awslabs/aws-bootstrap-kit)
* [Terraform AWS Provider](https://registry.terraform.io/providers/hashicorp/aws/latest)
* [AWS Deployment Framework (ADF)](https://github.com/awslabs/aws-deployment-framework)
* [AWS Organization Formation](https://github.com/org-formation)
* [AWS Control Tower Account Factory for Terraform (ATF)](https://github.com/aws-ia/terraform-aws-control_tower_account_factory)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/pepperize/cdk-organizations.git",
    "name": "pepperize.cdk-organizations",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "~=3.8",
    "maintainer_email": "",
    "keywords": "",
    "author": "Patrick Florek<patrick.florek@gmail.com>",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/b5/c1/73102968e1935e589f2aefe46e8ece8cecb6922aa899f6dd41babf6c495c/pepperize.cdk-organizations-0.7.768.tar.gz",
    "platform": null,
    "description": "[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://makeapullrequest.com)\n[![GitHub](https://img.shields.io/github/license/pepperize/cdk-organizations?style=flat-square)](https://github.com/pepperize/cdk-organizations/blob/main/LICENSE)\n[![npm (scoped)](https://img.shields.io/npm/v/@pepperize/cdk-organizations?style=flat-square)](https://www.npmjs.com/package/@pepperize/cdk-organizations)\n[![PyPI](https://img.shields.io/pypi/v/pepperize.cdk-organizations?style=flat-square)](https://pypi.org/project/pepperize.cdk-organizations/)\n[![Nuget](https://img.shields.io/nuget/v/Pepperize.CDK.Organizations?style=flat-square)](https://www.nuget.org/packages/Pepperize.CDK.Organizations/)\n[![Sonatype Nexus (Releases)](https://img.shields.io/nexus/r/com.pepperize/cdk-organizations?server=https%3A%2F%2Fs01.oss.sonatype.org%2F&style=flat-square)](https://s01.oss.sonatype.org/content/repositories/releases/com/pepperize/cdk-organizations/)\n[![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/pepperize/cdk-organizations/release.yml?branch=main&label=release&style=flat-square)](https://github.com/pepperize/cdk-organizations/actions/workflows/release.yml)\n[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/pepperize/cdk-organizations?sort=semver&style=flat-square)](https://github.com/pepperize/cdk-organizations/releases)\n[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod&style=flat-square)](https://gitpod.io/#https://github.com/pepperize/cdk-organizations)\n\n# CDK Organizations [![Mentioned in Awesome CDK](https://awesome.re/mentioned-badge.svg)](https://github.com/kolomied/awesome-cdk)\n\nManage AWS organizations, organizational units (OU), accounts and service control policies (SCP).\n\nFeatures:\n\n* [Organization](https://github.com/pepperize/cdk-organizations#organization)\n* [Organizational Unit (OU)](https://github.com/pepperize/cdk-organizations#organizational-unit-ou)\n* [Account](https://github.com/pepperize/cdk-organizations#account)\n* [Delegated Administrator](https://github.com/pepperize/cdk-organizations#delegated-administrator)\n* [Trusted Service](https://github.com/pepperize/cdk-organizations#enable-an-aws-service-trusted-service)\n* [Policies](https://github.com/pepperize/cdk-organizations#policy), [PolicyTypes](https://github.com/pepperize/cdk-organizations#enable-a-policy-type), [PolicyAttachment](https://github.com/pepperize/cdk-organizations#policyattachment)\n* [Tagging](https://github.com/pepperize/cdk-organizations#tagging-resources)\n\n[![View on Construct Hub](https://constructs.dev/badge?package=%40pepperize%2Fcdk-organizations)](https://constructs.dev/packages/@pepperize/cdk-organizations)\n\n## Install\n\n### TypeScript\n\n```shell\nnpm install @pepperize/cdk-organizations\n```\n\nor\n\n```shell\nyarn add @pepperize/cdk-organizations\n```\n\n### Python\n\n```shell\npip install pepperize.cdk-organizations\n```\n\n### C# / .Net\n\n```\ndotnet add package Pepperize.CDK.Organizations\n```\n\n### Java\n\n```xml\n<dependency>\n  <groupId>com.pepperize</groupId>\n  <artifactId>cdk-organizations</artifactId>\n  <version>${cdkOrganizations.version}</version>\n</dependency>\n```\n\n## Contributing\n\nContributions of all kinds are welcome :rocket: Check out our [contributor's guide](https://github.com/pepperize/cdk-organizations/blob/main/CONTRIBUTING.md).\n\nFor a quick start, [check out](https://github.com/pepperize/cdk-organizations/fork) a development environment:\n\n```shell\ngit clone git@github.com:pepperize/cdk-organizations\ncd cdk-organizations\n# install dependencies\nyarn\n# build with projen\nyarn build\n```\n\n## Getting Started\n\n1. Create a new account\n\n   [Signup for AWS](https://portal.aws.amazon.com/billing/signup#/start)\n2. Prepare an IAM User with `AdministratorAccess`\n\n   To deploy your new organization, you have to create an Administrator with an AccessKey\n\n   * [Creating your first IAM admin user and user group](https://docs.aws.amazon.com/IAM/latest/UserGuide/getting-started_create-admin-group.html)\n   * [Managing access keys for IAM users](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html#Using_CreateAccessKey)\n3. Create a new CDK TypeScript App project with [projen](https://github.com/projen/projen)\n\n   ```shell\n   mkdir my-project\n   cd my-project\n   git init -b main\n   npx projen new awscdk-app-ts\n   ```\n4. Add `@pepperize/cdk-organizations` to your dependencies in `.projenrc.js`\n\n   ```python\n   const project = new awscdk.AwsCdkTypeScriptApp({\n     //...\n     deps: [\"@pepperize/cdk-organizations\"],\n   });\n   ```\n5. Install the dependency\n\n   ```shell\n   npx projen\n   ```\n6. Create a stack\n\n   ```python\n   import { Account, Organization, OrganizationalUnit } from \"@pepperize/cdk-organizations\";\n   import { Stack } from \"aws-cdk-lib\";\n\n   export class OrganizationStack extends Stack {\n     constructor(scope: Construct, id: string, props: StackProps = {}) {\n       super(scope, id, props);\n\n       // Create your organization\n       const organization = new Organization(stack, \"Organization\", {});\n\n       // Create an organizational unit (OU)\n       const organizationUnit = new OrganizationalUnit(stack, \"OrganizationalUnit\", {\n         organizationalUnitName: \"MyFirstOU\",\n         parent: organization.root,\n       });\n\n       // Create an account\n       const account = new Account(stack, \"Account\", {\n         accountName: \"MyFirstAccount\",\n         email: \"<your email for the member account>\",\n         parent: organizationUnit,\n       });\n     }\n   }\n   ```\n7. Configure your AWS CLI to deploy\n\n   * [Configuring the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html)\n   * [AWSume](https://awsu.me/)\n\n   The easiest is to export your access key\n\n   ```shell\n   export AWS_ACCESS_KEY_ID=<your created access key id>\n   export AWS_SECRET_ACCESS_KEY=<your created secret access key>\n   ```\n8. Deploy your first AWS organization\n\n   ```shell\n   export CDK_DEFAULT_REGION=<your AWS region>\n   export CDK_DEFAULT_ACCOUNT=<your AWS account id>\n   ```\n\n   ```shell\n   yarn deploy\n   ```\n\n## Usage\n\n### Organization\n\nTo create a new organization or import an existing organization, add the following construct to your stack:\n\n```python\nconst organization = new Organization(stack, \"Organization\", {\n  featureSet: FeatureSet.ALL, // (default) required later on to enable SCPs, enable AWS services or delegate an administrator account\n});\norganization.root; // The organization's root is automatically created\n```\n\n* `FeatureSet.ALL` is required for advanced features like Service Control Policies (SCP) and is the [preferred way to work with AWS Organizations](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html)\n* The account which deploys the stack, will automatically become the management account of the new organization.\n* If an organization already exists, it will be imported automatically. You can disable this behaviour by passing `importOnDuplicate: false` in the props.\n* If the construct is removed from the stack, the organization will remain and must be deleted manually. For deletion of an organization you must previously remove all the member accounts, OUs, and policies from the organization. [Deleting the organization by removing the management account](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_delete.html)\n* An organization root is automatically created for you when you create the new organization.\n\nSee [IOrganization](https://github.com/pepperize/cdk-organizations/blob/main/API.md#@pepperize/cdk-organizations.IOrganization)\n\n### Organization Principal\n\nTo retrieve the AWS IAM organization principal in a member account, add the following to any construct:\n\n```\nconst organization = Organization.of(scope, \"Organization\");\norganization.principal; // The AWS IAM organization principal\n```\n\n* This helper construct can be used in any member account in the organization.\n\nSee [AWS Organization API Reference - DescribeOrganization](https://docs.aws.amazon.com/organizations/latest/APIReference/API_DescribeOrganization.html)\n\n### Organizational Unit (OU)\n\nTo create a new organizational unit (OU), add the following construct to your stack:\n\n```python\nconst organizationUnit = new OrganizationalUnit(stack, \"Organization\", {\n  organizationalUnitName: \"Project2\",\n  parent: organization.root,\n});\n```\n\n* The parent of an organizational unit (OU) can be either the organization's root or another OU within the organization.\n* An organizational unit (OU) can't be moved. You have to create a new OU first, move all the accounts and then delete the old OU.\n* For deletion of an organizational unit (OU) you must first move all accounts out of the OU and any child OUs, and then you can delete the child OUs. [Deleting an organizational unit](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_ous.html#delete-ou)\n\nSee [IOrganizationalUnit](https://github.com/pepperize/cdk-organizations/blob/main/API.md#@pepperize/cdk-organizations.IOrganizationalUnit)\n\n#### Organizational Unit (OU) Properties\n\n* `importOnDuplicate` If an organizational unit (OU) with the name exists in the parent, it will be imported.\n* `removalPolicy` Default `RemovalPolicy.Retain` If you set `removalPolicy` to `RemovalPolicy.destroy`, the organizational unit (OU) will be deleted on Cloudformation delete event.\n\nSee [OrganizationalUnitProps](https://github.com/pepperize/cdk-organizations/blob/main/API.md#@pepperize/cdk-organizations.OrganizationalUnitProps)\n\n### Account\n\nTo create a new account, add the following construct to your stack:\n\n```python\nnew Account(stack, \"Account\", {\n  accountName: \"MyAccount\",\n  email: \"info@pepperize.com\",\n  parent: organization.root,\n});\n```\n\n* The email address must not already be associated with another AWS account. You may suffix the email address, i.e. `info+account-123456789012@pepperize.com`.\n* The AWS Organizations supports only a one account creation `IN_PROGRESS`. Ensure account creation by using `account2.node.addDependency(account1)` [dependency relationship](https://docs.aws.amazon.com/cdk/api/v1/docs/core-readme.html#dependencies).\n* An account will be created and moved to the parent, if the parent is an organizational unit (OU).\n* An account can only be created from within the management account.\n\nSee [IAccount](https://github.com/pepperize/cdk-organizations/blob/main/API.md#@pepperize/cdk-organizations.IAccount)\n\n#### Account Properties\n\n* `importOnDuplicate` If an account with the same email address exists in the organization, it will be imported.\n* `removalPolicy` Default `RemovalPolicy.Retain` If you set `removalPolicy` to `RemovalPolicy.destroy`, the account will be closed. [Closing an AWS account](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_close.html)\n* `iamUserAccessToBilling` Default `IamUserAccessToBilling.ALLOW` If you set `iamUserAccessToBilling` to `ALLOW`, IAM users and roles that have appropriate permissions can view billing information for the account.\n* `roleName` Default `OrganizationAccountAccessRole` is preconfigures in the newly created account and grants users in the management account administrator permissions in the new member account.\n\nSee [AccountProps](https://github.com/pepperize/cdk-organizations/blob/main/API.md#@pepperize/cdk-organizations.AccountProps)\n\n### Delegated Administrator\n\nA compatible AWS service (trusted service) can register an AWS member account in the organization as an administrator in the organization on your behalf. To enable an AWS account as administrator of that trusted in your organization call `delegateAdministrator` on your account:\n\n```python\nconst account = new Account(stack, \"Account\", {\n  accountName: \"StackSetsDelegatedAdministrator\",\n  email: \"info@pepperize.com\",\n});\naccount.delegateAdministrator(\"stacksets.amazonaws.com\");\n```\n\n* [AWS services that support Delegated Administrator](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services_list.html)\n* To be able to use Delegated Administrator, your organization must have [all features](https://github.com/pepperize/cdk-organizations/blob/main/API.md#@pepperize/cdk-organizations.FeatureSet) enabled.\n\nSee [DelegatedAdministrator](https://github.com/pepperize/cdk-organizations/blob/main/API.md#@pepperize/cdk-organizations.DelegatedAdministrator)\n\n### Enable an AWS Service (trusted service)\n\nTo enable trusted access for a supported AWS service (trusted service), which performs tasks in your organization and its accounts on your behalf, call `enableAwsService` on your organization:\n\n```python\nconst organization = new Organization(stack, \"Organization\", {\n  featureSet: FeatureSet.ALL, // (default) the organization must be created with all features enabled\n});\norganization.enableAwsServiceAccess(\"ssm.amazonaws.com\");\n```\n\n* To enable trusted access, you must have [all features](https://github.com/pepperize/cdk-organizations/blob/main/API.md#@pepperize/cdk-organizations.FeatureSet) enabled.\n* It's recommended to use only the trusted service's console [How to enable or disable trusted access](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html#orgs_how-to-enable-disable-trusted-access)\n* [AWS services that you can use with AWS Organizations](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services_list.html)\n\nSee [EnableAwsServiceAccess](https://github.com/pepperize/cdk-organizations/blob/main/API.md#@pepperize/cdk-organizations.EnableAwsServiceAccess)\n\n### Enable a Policy Type\n\nTo enable a policy type call `enablePolicyType` on your organization.\n\n```python\nconst organization = new Organization(stack, \"Organization\", {\n  featureSet: FeatureSet.ALL, // (default) the organization must be created with all features enabled\n});\norganization.enablePolicyType(PolicyType.SERVICE_CONTROL_POLICY);\norganization.enablePolicyType(PolicyType.TAG_POLICY);\norganization.enablePolicyType(PolicyType.BACKUP_POLICY);\norganization.enablePolicyType(PolicyType.AISERVICES_OPT_OUT_POLICY);\n```\n\n* To create or attach policies later on, you have to [enable all features](https://github.com/pepperize/cdk-organizations/blob/main/API.md#@pepperize/cdk-organizations.FeatureSet) and the [policy type](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies.html#orgs-policy-types) .\n\nSee [EnablePolicyType](https://github.com/pepperize/cdk-organizations/blob/main/API.md#enablepolicytype-), [PolicyType](https://github.com/pepperize/cdk-organizations/blob/main/API.md#policytype-).\n\n### Policy\n\nTo create a new policy add the following construct to your stack:\n\n```python\nnew Policy(stack, \"Policy\", {\n  content: '{\\n\"Version\":\"2012-10-17\",\"Statement\":{\\n\"Effect\":\"Allow\",\"Action\":\"s3:*\"\\n}\\n}',\n  description: \"Enables admins of attached accounts to delegate all S3 permissions\",\n  policyName: \"AllowAllS3Actions\",\n  policyType: PolicyType.SERVICE_CONTROL_POLICY,\n});\n```\n\n* To create or attach policies, you must have [all features](https://github.com/pepperize/cdk-organizations/blob/main/API.md#@pepperize/cdk-organizations.FeatureSet) and the [policy type](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies.html#orgs-policy-types) enabled.\n* The [SCP Syntax](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps_syntax.html) is quite similar to IAM policies, but way more limited.\n\nSee [Policy](https://github.com/pepperize/cdk-organizations/blob/main/API.md#@pepperize/cdk-organizations.Policy)\n\n### PolicyAttachment\n\nTo attach a policy to a root, an organizational unit (OU), or an individual account call `attachPolicy` with the policy to attach:\n\n```python\norganization.enablePolicyType(PolicyType.TAG_POLICY);\n\nconst policy = new Policy(stack, \"Policy\", {\n  content: '{\\n\"tags\":{\\n\"CostCenter\":{\\n\"tag_key\":{\\n\"@@assign\":\"CostCenter\"\\n}\\n}\\n}\\n}',\n  description: \"Defines the CostCenter tag key\",\n  policyName: \"CostCenterTag\",\n  policyType: PolicyType.TAG_POLICY,\n});\n\norganization.attachPolicy(policy);\norganizationalUnit.attachPolicy(policy);\naccount.attachPolicy(policy);\n```\n\n* To create or attach policies, you must have [all features](https://github.com/pepperize/cdk-organizations/blob/main/API.md#@pepperize/cdk-organizations.FeatureSet) and the [policy type](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies.html#orgs-policy-types) enabled.\n\n### Tagging resources\n\nTo tag a resource you may follow the [AWS CDK Developer Guide - Tagging](https://docs.aws.amazon.com/cdk/v2/guide/tagging.html):\n\nYou can add one or more tags to the following resources in AWS Organizations.\n\n* Account\n* Organization root\n* Organizational unit (OU)\n* Policy\n\nSee [Tagging AWS Organizations resources](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_tagging.html), [ITaggableResource](https://github.com/pepperize/cdk-organizations/blob/main/API.md#@pepperize/cdk-organizations.ITaggableResource)\n\n#### Tagging an organization's root\n\n```python\nimport { Tags } from \"aws-cdk-lib\";\n\nconst organization = new Organization();\nTags.of(organization.root).add(\"key\", \"value\");\n```\n\n#### Tagging an organizational unit (OU)\n\n```python\nimport { Tags } from \"aws-cdk-lib\";\n\nconst organizationalUnit = new OrganizationalUnit();\nTags.of(organizationalUnit).add(\"key\", \"value\");\n```\n\n#### Tagging an account\n\n```python\nimport { Tags } from \"aws-cdk-lib\";\n\nconst account = new Account();\nTags.of(account).add(\"key\", \"value\");\n```\n\n#### Tagging a policy\n\n```python\nimport { Tags } from \"aws-cdk-lib\";\n\nconst policy = new Policy();\nTags.of(policy).add(\"key\", \"value\");\n```\n\n## Limitations\n\nAWS Organizations has some limitations:\n\n* The stack's account must be the management account of an existing organization.\n* The stack's account becomes the management account of the new organization.\n* An account belongs to only one organization within a single root.\n* [Quotas for AWS Organizations](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)\n\n> AWS Organizations is a global service with service endpoints in `us-east-1`, `us-gov-west-1` and `cn-northwest-1`. Read also\n> [Endpoint to call When using the AWS CLI or the AWS SDK](https://docs.aws.amazon.com/organizations/latest/APIReference/Welcome.html).\n> Currently all custom resources of this library are hard set to use `us-east-1`.\n\n## Example\n\nSee [example](https://github.com/pepperize/cdk-organizations-example/blob/main/src/example-stack.ts)\n\n```python\nimport { App, Stack } from \"aws-cdk-lib/core\";\nimport {\n  Account,\n  DelegatedAdministrator,\n  EnableAwsServiceAccess,\n  EnablePolicyType,\n  FeatureSet,\n  IamUserAccessToBilling,\n  Organization,\n  OrganizationalUnit,\n  Policy,\n  PolicyAttachment,\n  PolicyType,\n} from \"@pepperize/cdk-organizations\";\n\nconst app = new App();\nconst stack = new Stack(app);\n\n// Create an organization\nconst organization = new Organization(stack, \"Organization\", {\n  featureSet: FeatureSet.ALL,\n});\n// Enable AWS Service Access (requires FeatureSet: ALL)\norganization.enableAwsServiceAccess(\"service-abbreviation.amazonaws.com\");\n\n// Create an account\nconst account1 = new Account(stack, \"SharedAccount\", {\n  accountName: \"SharedAccount\",\n  email: \"info+shared-account@pepperize.com\",\n  roleName: \"OrganizationAccountAccessRole\",\n  iamUserAccessToBilling: IamUserAccessToBilling.ALLOW,\n  parent: organization.root,\n});\n// Enable a delegated admin account\naccount1.delegateAdministrator(\"service-abbreviation.amazonaws.com\");\n\n// Create an OU in the current organizations root\nconst projects = new OrganizationalUnit(stack, \"ProjectsOU\", {\n  organizationalUnitName: \"Projects\",\n  parent: organization.root,\n});\nconst account2 = new Account(stack, \"Project1Account\", {\n  accountName: \"SharedAccount\",\n  email: \"info+project1@pepperize.com\",\n  parent: projects,\n});\naccount2.node.addDependency(account1);\n\n// Create a nested OU and attach two accounts\nconst project2 = new OrganizationalUnit(stack, \"Project2OU\", {\n  organizationalUnitName: \"Project2\",\n  parent: projects,\n});\nconst account3 = new Account(stack, \"Project2DevAccount\", {\n  accountName: \"Project 2 Dev\",\n  email: \"info+project2-dev@pepperize.com\",\n  parent: project2,\n});\naccount3.node.addDependency(account2);\nconst account4 = new Account(stack, \"Project2ProdAccount\", {\n  accountName: \"Project 2 Prod\",\n  email: \"info+project2-prod@pepperize.com\",\n  parent: project2,\n});\naccount4.node.addDependency(account3);\n\n// Enable the service control policy (SCP) type within the organization\norganization.enablePolicyType(PolicyType.SERVICE_CONTROL_POLICY);\n// Create and attach and Service Control Policy (SCP)\nconst policy = new Policy(stack, \"Policy\", {\n  content: '{\\n\"Version\":\"2012-10-17\",\"Statement\":{\\n\"Effect\":\"Allow\",\"Action\":\"s3:*\"\\n}\\n}',\n  description: \"Enables admins of attached accounts to delegate all S3 permissions\",\n  policyName: \"AllowAllS3Actions\",\n  policyType: PolicyType.SERVICE_CONTROL_POLICY,\n});\norganization.attachPolicy(policy);\n\n// Tagging AWS organization resources of this stack\nTags.of(stack).add(\"tagKey\", \"tagValue\");\n```\n\n## References\n\n* [CDK Organizations API Reference](https://github.com/pepperize/cdk-organizations/blob/main/API.md)\n* [AWS Account Management Reference Guide](https://docs.aws.amazon.com/accounts/latest/reference/accounts-welcome.html)\n* [AWS Organizations User Guide](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_introduction.html)\n* [AWS API Reference](https://docs.aws.amazon.com/organizations/latest/APIReference/Welcome.html)\n* [AWS CDK Custom Resources](https://docs.aws.amazon.com/cdk/api/v1/docs/custom-resources-readme.html#custom-resources-for-aws-apis)\n\n## Alternatives\n\n* [AWS Bootstrap Kit](https://github.com/awslabs/aws-bootstrap-kit)\n* [Terraform AWS Provider](https://registry.terraform.io/providers/hashicorp/aws/latest)\n* [AWS Deployment Framework (ADF)](https://github.com/awslabs/aws-deployment-framework)\n* [AWS Organization Formation](https://github.com/org-formation)\n* [AWS Control Tower Account Factory for Terraform (ATF)](https://github.com/aws-ia/terraform-aws-control_tower_account_factory)\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Manage AWS organizations, organizational units (OU), accounts and service control policies (SCP).",
    "version": "0.7.768",
    "project_urls": {
        "Homepage": "https://github.com/pepperize/cdk-organizations.git",
        "Source": "https://github.com/pepperize/cdk-organizations.git"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5c17500b4658d98f1ac6a647c0371b26b155147de5d2c58077fbd094de60e5e2",
                "md5": "128c23bdec5ae9daaed93d171882ceca",
                "sha256": "d3a7c1732445f9e3a08a2c4777579b967dc7978433f4deb1aef79557347e18e5"
            },
            "downloads": -1,
            "filename": "pepperize.cdk_organizations-0.7.768-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "128c23bdec5ae9daaed93d171882ceca",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "~=3.8",
            "size": 8928858,
            "upload_time": "2024-01-01T00:51:26",
            "upload_time_iso_8601": "2024-01-01T00:51:26.907668Z",
            "url": "https://files.pythonhosted.org/packages/5c/17/500b4658d98f1ac6a647c0371b26b155147de5d2c58077fbd094de60e5e2/pepperize.cdk_organizations-0.7.768-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b5c173102968e1935e589f2aefe46e8ece8cecb6922aa899f6dd41babf6c495c",
                "md5": "d2205a4c74b67f479dcff37ce9a5ffa6",
                "sha256": "8af300c6e68cc88fd3451ddead4c206735a7b7228448564110a4fe70ab5c306d"
            },
            "downloads": -1,
            "filename": "pepperize.cdk-organizations-0.7.768.tar.gz",
            "has_sig": false,
            "md5_digest": "d2205a4c74b67f479dcff37ce9a5ffa6",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "~=3.8",
            "size": 8934147,
            "upload_time": "2024-01-01T00:51:39",
            "upload_time_iso_8601": "2024-01-01T00:51:39.517842Z",
            "url": "https://files.pythonhosted.org/packages/b5/c1/73102968e1935e589f2aefe46e8ece8cecb6922aa899f6dd41babf6c495c/pepperize.cdk-organizations-0.7.768.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-01 00:51:39",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "pepperize",
    "github_project": "cdk-organizations",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "pepperize.cdk-organizations"
}
        
Elapsed time: 0.25891s