"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.Names=void 0;const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),constructs_1=require("constructs"),uniqueid_1=require("./private/uniqueid");class Names{constructor(){}static uniqueId(construct){const components=constructs_1.Node.of(construct).scopes.slice(1).map(c=>constructs_1.Node.of(c).id);return components.length>0?uniqueid_1.makeUniqueId(components):""}static nodeUniqueId(node){const components=node.scopes.slice(1).map(c=>constructs_1.Node.of(c).id);return components.length>0?uniqueid_1.makeUniqueId(components):""}}exports.Names=Names,_a=JSII_RTTI_SYMBOL_1,Names[_a]={fqn:"aws-cdk-lib.Names",version:"2.24.1"};
//# sourceMappingURL=names.js.map
