Registry / aws / cdk-bootstrapless-synthesizer

cdk-bootstrapless-synthesizer

JSON →
library2.3.2pypypiunverified

A bootstrapless synthesizer for the AWS Cloud Development Kit (CDK) v2 that generates directly usable CloudFormation templates without requiring a CDK bootstrap stack. Version 2.3.2, maintains compatibility with CDK v2.

pip install cdk-bootstrapless-synthesizer
INSTALL
IMPORT
SIG · CDK-BOOTSTRAPLESS-
C
cdk-bootstrapless-synthesizer
awspythonv2.3.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

BootstraplessSynthesizer
from cdk_bootstrapless_synthesizer import BootstraplessSynthesizer
Correct import path for the main synthesizer class.
synth
from cdk_bootstrapless_synthesizer import synth
Convenience function to synthesize stacks.

Create a CDK app with a bootstrapless synthesizer so the template can be deployed without a pre-existing bootstrap stack.

from aws_cdk import App, Stack from cdk_bootstrapless_synthesizer import BootstraplessSynthesizer app = App() stack = Stack(app, "MyStack", synthesizer=BootstraplessSynthesizer()) app.synth()
Debug
Known issues
gotchaThe BootstraplessSynthesizer requires CDK v2. Using it with CDK v1 will cause import errors.
fix
Upgrade to aws-cdk-lib >=2.0.0.
affects: 1.x
gotchaIf you use a custom BootstrapRole or fileAssetsBucketName, you must specify them in the synthesizer properties. Otherwise the synthesized template will fail to deploy due to missing parameters.
fix
Explicitly pass required parameters: BootstraplessSynthesizer(fileAssetsBucketName='my-bucket', ...).
affects: all
deprecatedThe method BootstraplessSynthesizer.synthesize() is deprecated in favor of using __init__ parameters. Directly calling synthesize() with arguments may break in future versions.
fix
Use the constructor to configure the synthesizer instead.
affects: >=2.0
Upgrade
Version history
2.3.2latest on PyPI · released Apr 28, 2023
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
cdk-bootstrapless-synthesizer — pip install cdk-bootstrapless-synthesizer · libregistry