Skip to main content

CDK CodePipeline Stack (pre-release)

The purpose of this Construct is to build a CodePipeline stack that builds and deploys a CDK Stack.

This construct is still in development and as such you should use with caution.

What it creates

This will create a CodePipeline pipeline that builds a CDK module and then deploys it to CloudFormation as a Stack.

Usage

Refer to the bin/automation.ts for an example.

Properties lib/cdk-cicd.ts

prop description usage
stackName The CloudFormation Stack to create/update must be a valid CFN stack name (e.g. some-stack-name)
sourceAction The Source IAction for CodePipeline Rather than try to account for all source situations, you just provide your own. The factory function is given the Artifact to use as the output target in your Action. If you don't use this artifact, the construct will fail construction.
createBuildSpec A Factory that returns a BuildSpec object to use Refer to the lib/buildspec-factory.ts for creating these. You can create your own buildspec if you'd like but there are certain requirements; you have to have artifacts setup properly.
additionalPolicyStatements Any additional PolicyStatements you'd like to add to the CodeBuild project Role Useful if you're going to be making AWS API calls from within your CDK 'synth' process during the build.

Contribute

Always open to any suggestions or help in making this better. Open an Issue.

License

MIT

Metadata

Release files for mbonig.cdk-cicd 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for mbonig.cdk-cicd 0.1.3
File Interpreter ABI Platform
mbonig.cdk_cicd-0.1.3-py3-none-any.whl Python 3 none any Details

Release files / mbonig.cdk_cicd-0.1.3-py3-none-any.whl

Download URL mbonig.cdk_cicd-0.1.3-py3-none-any.whl
Size 30.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1db2325cc4b1e13cb5ecfa516d952a551113ef28064777951f2ef8ba44f0af28
BLAKE2b-256 checksum
How to use checksums
3170668b651cc7566002b0f9d7b29dbab94d2ccee7bbaf75828899ac7a2d8de3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5

Release history Release notifications | RSS feed

This release

0.1.3 This release

1 release file

0.1.2

1 release file

0.1.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page