Menu

python

AWS CDK: Context

The problem How can I pass custom parameters to synthesize templates? The solution cdk.json has a context section that allows us to add custom parameters { "context": { "custom": "parameter" } } The way we access that context is through the app node: from aws_cdk import core app = core.App() app.node.try_get_context("custom") AWS CDK: Context full article

AWS CDK: Custom Constructs

Having worked for a while with terraform, I always felt that learning a whole new DSL to provision infrastructure was a bit unnatural. Therefore, when I started hub, I decided to look around and check for alternatives. The AWS Cloud Development Kit or AWS CDK allows you to code your infrastructure with a regular programming language, e.g. python, and immediately felt more natural. The CDK has the following base components: AWS CDK: Custom Constructs full article

Site menu

Back to top