"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.Aspects=void 0;const jsiiDeprecationWarnings=require("../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),ASPECTS_SYMBOL=Symbol.for("cdk-aspects");class Aspects{static of(scope){let aspects=scope[ASPECTS_SYMBOL];return aspects||(aspects=new Aspects,Object.defineProperty(scope,ASPECTS_SYMBOL,{value:aspects,configurable:!1,enumerable:!1})),aspects}constructor(){this._aspects=[]}add(aspect){try{jsiiDeprecationWarnings.aws_cdk_lib_IAspect(aspect)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.add),error}this._aspects.push(aspect)}get all(){return[...this._aspects]}}exports.Aspects=Aspects,_a=JSII_RTTI_SYMBOL_1,Aspects[_a]={fqn:"aws-cdk-lib.Aspects",version:"2.96.1"};
