cdk-factory
An AWS CDK wrapper for common deployments and best practices.
Contributing to the Code Base
If you are contributing to the code base
- Clone this repo
- Run the
./setup.shshell script - Start exploring
Understanding the flow
The core configuration for any of the CDK deployments are controlled in your config.json files. From a high-level we have the following key elements that control the actions within the framework. The details will follow.
| key | description |
|---|---|
cdk |
Any cdk configs/parameters that you need to pass |
workload |
General information about your workload |
workload->stacks |
A CDK implementation of a CloudFormation Stack |
workload->deployments |
Grouping of Stacks, which can be deployed via stack or pipeline mode |
workload->pipelines |
An AWS Code Pipeline deployment |
cdk
The cdk -> parameters defines the following
| key | description |
|---|---|
placeholder |
A placeholder that will used to perform a fine/replace action in the config once it's processed |
env_var_name | value |
An environment variable to load the value or a static value |
cdk_parameter_name |
The CdkParameterName that will be passed in as custom argument to the synth command |
Example
{
"cdk": {
"parameters": [
{
"placeholder": "{{WORKLOAD_NAME}}",
"env_var_name": "CDK_WORKLOAD_NAME",
"cdk_parameter_name": "WorkloadName"
},
{
"placeholder": "{{CDK_SYNTH_COMMAND_FILE}}",
"value": "../../samples/website/commands/cdk_synth.sh",
"cdk_parameter_name": "CdkSynthCommandFile"
},
]
}
}
workload
TODO:
stacks
TODO:
deployments
TODO:
pipelines
TODO:
Metadata
Release files for cdk-factory 1.10.14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cdk_factory-1.10.14.tar.gz | 650.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cdk_factory-1.10.14-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.2 MB
Release files / cdk_factory-1.10.14.tar.gz
| Download URL | cdk_factory-1.10.14.tar.gz |
|---|---|
| Size | 650.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c15d7fd2fa848339ff7a16682800d79548093a6b315ac12c7e0ab91c85b6bd17
|
|
BLAKE2b-256 checksum How to use checksums |
d12c27a21a9b8d36d18e7fb660103b83e0fdde70b9a2eb1a0c9d1f91d8f3e598
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.2
|
Release files / cdk_factory-1.10.14-py3-none-any.whl
| Download URL | cdk_factory-1.10.14-py3-none-any.whl |
|---|---|
| Size | 512.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
502d0eb35d79f4c7dd2257f92efe69e5305f973a2d1ba06027ffe68979a3822b
|
|
BLAKE2b-256 checksum How to use checksums |
c105733920efa3aee501afd87cd3a7a136384bd40559fc8ad2d5ae8c3fcaade1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.2
|