@cloud-copilot/iam-simulate
Version:
Simulate evaluation of AWS IAM policies
11 lines • 536 B
TypeScript
/**
* Get the allowed context keys for a request.
*
* @param service The service the action belongs to
* @param action The action to get the allowed context keys for
* @param resource The resource the action is being performed on
* @returns The allowed context keys for the request as lower case strings
* @throws error if the service or action does not exist
*/
export declare function allowedContextKeysForRequest(service: string, action: string, resource: string): Promise<string[]>;
//# sourceMappingURL=contextKeys.d.ts.map