@cloud-copilot/iam-lens
Version:
Visibility in IAM in and across AWS accounts
18 lines • 787 B
TypeScript
import { TopLevelConfig } from '@cloud-copilot/iam-collect';
import { IamCollectClient } from './client.js';
/**
* Load IAM collect configs from the specified paths.
*
* @param configPaths the paths to the config files
* @returns the top-level configs
*/
export declare function loadCollectConfigs(configPaths: string[]): Promise<TopLevelConfig[]>;
/**
* Get a collect client for the specified partition using the provided configs.
*
* @param configs the top-level configs to use for storage
* @param partition which partition to use (aws, aws-cn, aws-us-gov)
* @returns the iam-collect client to use for retrieving IAM resources
*/
export declare function getCollectClient(configs: TopLevelConfig[], partition: string): IamCollectClient;
//# sourceMappingURL=collect.d.ts.map