"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.PermissionsBoundary=exports.PERMISSIONS_BOUNDARY_CONTEXT_KEY=void 0;const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");exports.PERMISSIONS_BOUNDARY_CONTEXT_KEY="@aws-cdk/core:permissionsBoundary";class PermissionsBoundary{static fromName(name){return new PermissionsBoundary(name)}static fromArn(arn){return new PermissionsBoundary(void 0,arn)}constructor(policyName,policyArn){this.policyName=policyName,this.policyArn=policyArn}_bind(scope,_options={}){scope.node.setContext(exports.PERMISSIONS_BOUNDARY_CONTEXT_KEY,{name:this.policyName,arn:this.policyArn})}}exports.PermissionsBoundary=PermissionsBoundary,_a=JSII_RTTI_SYMBOL_1,PermissionsBoundary[_a]={fqn:"aws-cdk-lib.PermissionsBoundary",version:"2.148.1"};
