aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
2 lines (1 loc) • 1.12 kB
JavaScript
;var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.StackOutputsMap=void 0;const jsiiDeprecationWarnings=require("../../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),pipeline_queries_1=require("../helpers-internal/pipeline-queries"),identifiers_1=require("../private/identifiers");class StackOutputsMap{constructor(pipeline){try{jsiiDeprecationWarnings.aws_cdk_lib_pipelines_PipelineBase(pipeline)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,StackOutputsMap),error}this.queries=new pipeline_queries_1.PipelineQueries(pipeline)}toCodePipeline(x){try{jsiiDeprecationWarnings.aws_cdk_lib_pipelines_StackOutputReference(x)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.toCodePipeline),error}return`#{${identifiers_1.stackVariableNamespace(this.queries.producingStack(x))}.${x.outputName}}`}}exports.StackOutputsMap=StackOutputsMap,_a=JSII_RTTI_SYMBOL_1,StackOutputsMap[_a]={fqn:"aws-cdk-lib.pipelines.StackOutputsMap",version:"2.70.0"};