@cloud-copilot/iam-simulate
Version:
Simulate evaluation of AWS IAM policies
12 lines • 527 B
TypeScript
import { ConditionValueExplain } from '../../explain/statementExplain.js';
import { AwsRequest } from '../../request/request.js';
/**
* Checks to see if a single ARN matches in ArnLike format
*
* @param policyArn the ARN to check against
* @param requestArn the ARN to check
* @param request the request to check
* @returns if the ARN matches
*/
export declare function arnMatches(policyArn: string, requestArn: string, request: AwsRequest, expectMatch: boolean): ConditionValueExplain;
//# sourceMappingURL=arn.d.ts.map