UNPKG

@cloud-copilot/iam-policy

Version:
14 lines 482 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.loadPolicy = loadPolicy; const policy_js_1 = require("./policies/policy.js"); /** * Load a Policy from a policy document * * @param policyDocument the policy document JSON object * @returns the Policy object for the backing policy document */ function loadPolicy(policyDocument, metadata) { return new policy_js_1.PolicyImpl(policyDocument, metadata); } //# sourceMappingURL=parser.js.map