UNPKG

@cloud-copilot/iam-simulate

Version:
12 lines 655 B
/** * 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