AWS CDK Construct Library to manage specific AWS Organization resources
Project description
cdk-library-aws-organization
This CDK library is a WIP and not ready for production use.
Key challenges with Organizations
- Accounts aren't like AWS resources and the removal process isn't a simple delete. Therefore the constructs contained in this library do not have the goal to delete accounts.
- CloudFormation doesn't support Organizations directly so the constructs in this library use CloudFormation custom resources that utilize Python and Boto3
Testing the custom provider code with SAM CLI
- Create a test project that utilizes this library
- Create a test stack
- Synthesize the test stack with
cdk synth --no-staging > template.yml
- Get the function name from the template
- Run
sam local start-lambda -t template.yml
- Run the
handler_tests
python files withpytest
like follows:
LAMBDA_FUNCTION_NAME='<name you noted earlier>' pytest ./handler_tests/<handler>/test.py -rA --capture=sys
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 renovosolutions.aws-cdk-aws-organization-0.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84a7b296088d09fb42aef22b9929911e4aeec6b1a439fb8ddf2aad7f25225314 |
|
MD5 | ab1e583a0f52e24bd2496437af1d4236 |
|
BLAKE2b-256 | 144bf3128d41c06de76f44c31054827a82af0e4d224dc0ab6de2c6c6092fe69c |
Close
Hashes for renovosolutions.aws_cdk_aws_organization-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03763d18cb5c5f8250d84f8022dbd97ff49cf1c44b8fd439f7a4743324c8cb5e |
|
MD5 | 83d6ec7756b0fa426fb98ba481237eae |
|
BLAKE2b-256 | 07712fba5df11421335e6cb572fd363bfb2c80490d30a8bd7c35a6eac7f0322c |