@csermet/multiprovider
Version:
cloud-graph provider plugin for AWS used to fetch AWS cloud data.
23 lines (22 loc) • 664 B
TypeScript
import IAM, { InstanceProfile } from 'aws-sdk/clients/iam';
import { Config } from 'aws-sdk/lib/config';
import { TagMap } from '../../types';
export declare const listInstancesProfiles: (iam: IAM) => Promise<InstanceProfile[]>;
export declare const getTags: ({ iam, name, }: {
iam: IAM;
name: string;
}) => Promise<TagMap>;
/**
* IAM Instance Profile
*/
export interface RawAwsInstanceProfile extends Omit<InstanceProfile, 'Tags'> {
region: string;
Tags?: TagMap;
}
declare const _default: ({ config, rawData, }: {
config: Config;
rawData: any;
}) => Promise<{
[region: string]: RawAwsInstanceProfile[];
}>;
export default _default;