UNPKG

@cloud-copilot/iam-simulate

Version:
26 lines 1.21 kB
import { ConditionKeyType } from '../context_keys/contextKeyTypes.js'; interface GlobalConditionKey { key: string; category: string; dataType: ConditionKeyType; } export declare function getGlobalConditionKeyWithOrWithoutPrefix(key: string): GlobalConditionKey | undefined; export declare function getGlobalConditionKey(key: string): GlobalConditionKey | undefined; export declare function globalConditionKeyExists(key: string): boolean; export declare function getGlobalConditionKeysByCategory(category: string): GlobalConditionKey[]; /** * Get the details for a global condition key that has a variable by it's prefix * for example, it will find aws:ResourceTag/tag-key if you pass in aws:ResourceTag * * @param prefix - The prefix of the global condition key, case insensitive * @returns The global condition key details if found */ export declare function getVariableGlobalConditionKeyByPrefix(prefix: string): GlobalConditionKey | undefined; /** * Get all the global condition keys as lower case strings * * @returns a list of all the global condition keys */ export declare function allGlobalConditionKeys(): string[]; export {}; //# sourceMappingURL=globalConditionKeys.d.ts.map