@cloud-copilot/iam-policy
Version:
An ORM for AWS IAM policies
11 lines • 365 B
JavaScript
import { PolicyImpl } from './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
*/
export function loadPolicy(policyDocument, metadata) {
return new PolicyImpl(policyDocument, metadata);
}
//# sourceMappingURL=parser.js.map