"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.Reference=void 0;var jsiiDeprecationWarnings=()=>{var tmp=require("../../.warnings.jsii.js");return jsiiDeprecationWarnings=()=>tmp,tmp};const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");var intrinsic_1=()=>{var tmp=require("./private/intrinsic");return intrinsic_1=()=>tmp,tmp};const REFERENCE_SYMBOL=Symbol.for("@aws-cdk/core.Reference");class Reference extends intrinsic_1().Intrinsic{static isReference(x){return typeof x=="object"&&x!==null&&REFERENCE_SYMBOL in x}constructor(value,target,displayName,typeHint){super(value,{typeHint});try{jsiiDeprecationWarnings().aws_cdk_lib_ResolutionTypeHint(typeHint)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,Reference),error}Object.defineProperty(this,REFERENCE_SYMBOL,{value:!0}),this.target=target,this.displayName=displayName||"Reference"}}exports.Reference=Reference,_a=JSII_RTTI_SYMBOL_1,Reference[_a]={fqn:"aws-cdk-lib.Reference",version:"2.159.0"};
