@csermet/multiprovider
Version:
cloud-graph provider plugin for AWS used to fetch AWS cloud data.
18 lines (17 loc) • 711 B
TypeScript
import { AwsRawTag, AwsIamJsonPolicy, AwsTag, TagMap } from '../types';
/**
* Function to convert aws formatted tags to TagMap
*/
export declare const convertAwsTagsToTagMap: (tags?: AwsTag[]) => TagMap;
export declare const formatTagsFromMap: (tags: TagMap) => AwsRawTag[];
export declare const obfuscateSensitiveString: (s: string) => string;
/**
* Transform key from snake_case to camelCase
*/
export declare const camelize: (key: string) => string;
/**
* Transform key from snake_case to PascalCase
*/
export declare const pascalize: (key: string) => string;
export declare const parseCSV: (csv: string) => Promise<any[]>;
export declare const formatIamJsonPolicy: (json: string) => AwsIamJsonPolicy;