@cloud-copilot/iam-simulate
Version:
Simulate evaluation of AWS IAM policies
12 lines • 655 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
* @param bucketAbacEnabled Whether ABAC is enabled on the S3 bucket (only applies to S3)
* @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, bucketAbacEnabled?: boolean): Promise<string[]>;
//# sourceMappingURL=contextKeys.d.ts.map