aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
2 lines (1 loc) • 2.1 kB
JavaScript
var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.BootstraplessSynthesizer=void 0;var jsiiDeprecationWarnings=()=>{var tmp=require("../../../.warnings.jsii.js");return jsiiDeprecationWarnings=()=>tmp,tmp};const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");var default_synthesizer_1=()=>{var tmp=require("./default-synthesizer");return default_synthesizer_1=()=>tmp,tmp};class BootstraplessSynthesizer extends default_synthesizer_1().DefaultStackSynthesizer{constructor(props={}){super({deployRoleArn:props.deployRoleArn,cloudFormationExecutionRole:props.cloudFormationExecutionRoleArn,generateBootstrapVersionRule:!1});try{jsiiDeprecationWarnings().aws_cdk_lib_BootstraplessSynthesizerProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,BootstraplessSynthesizer),error}}addFileAsset(_asset){try{jsiiDeprecationWarnings().aws_cdk_lib_FileAssetSource(_asset)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.addFileAsset),error}throw new Error("Cannot add assets to a Stack that uses the BootstraplessSynthesizer")}addDockerImageAsset(_asset){try{jsiiDeprecationWarnings().aws_cdk_lib_DockerImageAssetSource(_asset)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.addDockerImageAsset),error}throw new Error("Cannot add assets to a Stack that uses the BootstraplessSynthesizer")}synthesize(session){try{jsiiDeprecationWarnings().aws_cdk_lib_ISynthesisSession(session)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.synthesize),error}this.synthesizeStackTemplate(this.boundStack,session),this.emitArtifact(session,{assumeRoleArn:this.deployRoleArn,cloudFormationExecutionRoleArn:this.cloudFormationExecutionRoleArn})}}exports.BootstraplessSynthesizer=BootstraplessSynthesizer,_a=JSII_RTTI_SYMBOL_1,BootstraplessSynthesizer[_a]={fqn:"aws-cdk-lib.BootstraplessSynthesizer",version:"2.185.0"};
;