"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.BootstraplessSynthesizer=void 0;const jsiiDeprecationWarnings=require("../../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),_shared_1=require("./_shared"),default_synthesizer_1=require("./default-synthesizer");class BootstraplessSynthesizer extends default_synthesizer_1.DefaultStackSynthesizer{constructor(props){super({deployRoleArn:props.deployRoleArn,cloudFormationExecutionRole:props.cloudFormationExecutionRoleArn,generateBootstrapVersionRule:!1});jsiiDeprecationWarnings.aws_cdk_lib_BootstraplessSynthesizerProps(props)}addFileAsset(_asset){throw jsiiDeprecationWarnings.aws_cdk_lib_FileAssetSource(_asset),new Error("Cannot add assets to a Stack that uses the BootstraplessSynthesizer")}addDockerImageAsset(_asset){throw jsiiDeprecationWarnings.aws_cdk_lib_DockerImageAssetSource(_asset),new Error("Cannot add assets to a Stack that uses the BootstraplessSynthesizer")}synthesize(session){jsiiDeprecationWarnings.aws_cdk_lib_ISynthesisSession(session),_shared_1.assertBound(this.stack),this.synthesizeStackTemplate(this.stack,session),this.emitStackArtifact(this.stack,session,{assumeRoleArn:this.deployRoleArn,cloudFormationExecutionRoleArn:this.cloudFormationExecutionRoleArn})}}exports.BootstraplessSynthesizer=BootstraplessSynthesizer,_a=JSII_RTTI_SYMBOL_1,BootstraplessSynthesizer[_a]={fqn:"aws-cdk-lib.BootstraplessSynthesizer",version:"2.13.0"};
//# sourceMappingURL=bootstrapless-synthesizer.js.map
