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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4d735415c723d6db31433089305cee39a61d9ec2ea8fbaa319183a8ab9fdbd4 |
|
MD5 | 4878588cccfc52610c9051d028d75f51 |
|
BLAKE2b-256 | 345a53d7cfe8c0b3bf00fd25bb1bd230dd4ddacc3c8fa599cd6edac5b320399d |
Close
Hashes for renovosolutions.aws_cdk_aws_organization-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6156c3e55d273e64a72b8e95572c04708c12e5f45086153c75b62d5d2e6205c0 |
|
MD5 | 7b65766b64e585d870f139fde6c13269 |
|
BLAKE2b-256 | f5d0f7c06f5a9dcd452ee7f986682febec98e43027ecdb7ac82abb08f4745dc6 |