cdk-organizations-list-accounts is an AWS CDK building library that outputs a list of AWS organization accounts in CSV format.
Project description
cdk-organizations-list-accounts
Want to keep an up-to-date list of your AWS accounts?
cdk-organizations-list-accounts is an AWS CDK building library that outputs a list of AWS organization accounts in CSV format.
Overview
Amazon EventBridge detects the account creation event and starts a Lambda function. An accounts list, including the organization structure, will be output to S3 bucket in CSV format.
Output Example:
Id,Name,Email,Status,Joined Method,Joined Timestamp,OU Id,1st Level OU,2nd Level OU,3rd Level OU,4th Level OU,5th Level OU
000000000000,account-mgmt,account+mgmt@example.com,ACTIVE,INVITED,2022-01-31 07:19:57,r-xxxx
111111111111,account-0001,account+0001@example.com,ACTIVE,INVITED,2022-01-31 07:25:38,ou-xxxx-yyyyyyyy,Suspended
222222222222,account-0002,account+0002@example.com,ACTIVE,CREATED,2022-01-31 07:31:28,ou-xxxx-zzzzzzzz,Sample System,Additional,Workloads,Prod
333333333333,account-0003,account+0003@example.com,ACTIVE,CREATED,2022-01-31 08:15:49,ou-xxxx-zzzzzzzz,Sample System,Additional,Workloads,SDLC
444444444444,account-0004,account+0004@example.com,ACTIVE,CREATED,2022-01-31 09:18:50,ou-xxxx-zzzzzzzz,Sample System,Foundational,Security,Prod
555555555555,account-0005,account+0005@example.com,ACTIVE,CREATED,2022-01-31 10:21:30,ou-xxxx-zzzzzzzz,Sample System,Foundational,Infrastructure,Prod
666666666666,account-0006,account+0006@example.com,ACTIVE,CREATED,2022-01-31 11:21:05,ou-xxxx-zzzzzzzz,Sample System,Foundational,Infrastructure,SDLC
Limitations at present
- Must deploy to AWS Organization's management account
- Events other than CreateAccount are not supported
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for cdk-organizations-list-accounts-0.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee8547b083bfe8711610a66e2b72d8d13e8a5617bde29239827200c95f42a751 |
|
MD5 | 57783b6a9327519e67240b6130edc548 |
|
BLAKE2b-256 | a89e87fba79cc7f5b42af615962ffb8d86e20d910068466474b92d63878f227b |
Close
Hashes for cdk_organizations_list_accounts-0.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fdbf774627299b5747bf7b88547240561aa60045afdd7c1a77b65bd404f1ae08 |
|
MD5 | 23bdadf17e8c5cd03ac75b4eca32b77a |
|
BLAKE2b-256 | 376f182a55b8d128cf57fdc116c274b0025baab4335c9fef6ad91ef7e40bc858 |