aws-iam-policy-tool
Version:
AWS IAM role/policy management cli tool
13 lines (12 loc) • 382 B
TypeScript
import { PolicyEntry } from '../aws/policy';
import { Result } from '../utils/result';
import { ArnType } from '../aws/operation';
export declare class PolicyValidator {
_color: boolean;
_invalidCnt: number;
private policyFetcher;
constructor(opts?: any);
prepare(): Promise<ArnType>;
validate(entry: PolicyEntry): Promise<Result>;
isValid(): boolean;
}