{"id":27635,"library":"cdk-bootstrapless-synthesizer","title":"CDK Bootstrapless Synthesizer","description":"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.","status":"active","version":"2.3.2","language":"python","source_language":"en","source_url":"https://github.com/aws-samples/cdk-bootstrapless-synthesizer","tags":["aws","cdk","cloudformation","infrastructure","devops"],"install":[{"cmd":"pip install cdk-bootstrapless-synthesizer","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"Correct import path for the main synthesizer class.","symbol":"BootstraplessSynthesizer","correct":"from cdk_bootstrapless_synthesizer import BootstraplessSynthesizer"},{"note":"Convenience function to synthesize stacks.","symbol":"synth","correct":"from cdk_bootstrapless_synthesizer import synth"}],"quickstart":{"code":"from aws_cdk import App, Stack\nfrom cdk_bootstrapless_synthesizer import BootstraplessSynthesizer\n\napp = App()\nstack = Stack(app, \"MyStack\", synthesizer=BootstraplessSynthesizer())\napp.synth()","lang":"python","description":"Create a CDK app with a bootstrapless synthesizer so the template can be deployed without a pre-existing bootstrap stack."},"warnings":[{"fix":"Upgrade to aws-cdk-lib >=2.0.0.","message":"The BootstraplessSynthesizer requires CDK v2. Using it with CDK v1 will cause import errors.","severity":"gotcha","affected_versions":"1.x"},{"fix":"Explicitly pass required parameters: BootstraplessSynthesizer(fileAssetsBucketName='my-bucket', ...).","message":"If 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.","severity":"gotcha","affected_versions":"all"},{"fix":"Use the constructor to configure the synthesizer instead.","message":"The method BootstraplessSynthesizer.synthesize() is deprecated in favor of using __init__ parameters. Directly calling synthesize() with arguments may break in future versions.","severity":"deprecated","affected_versions":">=2.0"}],"env_vars":null,"last_verified":"2026-05-09T00:00:00.000Z","next_check":"2026-08-07T00:00:00.000Z","problems":[{"fix":"Ensure you have version >=2.0.0 and import using from cdk_bootstrapless_synthesizer import BootstraplessSynthesizer.","cause":"Installed version is too old (pre-2.0) or the import path is incorrect.","error":"ImportError: cannot import name 'BootstraplessSynthesizer' from 'cdk_bootstrapless_synthesizer'"},{"fix":"Use the new pattern: pass parameters to the constructor instead of calling synthesize().","cause":"Using deprecated synthesize() method with incorrect signature.","error":"AttributeError: 'BootstraplessSynthesizer' object has no attribute '_synthesize'"},{"fix":"Ensure all CDK dependencies are from aws-cdk-lib (v2) not @aws-cdk/*.","cause":"Mixing CDK v1 and v2 packages.","error":"jsii.errors.JSIIError: 'BootstraplessSynthesizer' cannot be used with this CDK version"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}