cdk-insights
Version:
AWS CDK security and cost analysis tool with AI-powered insights
20 lines (19 loc) • 723 B
TypeScript
import type { CloudFormationResource, CloudFormationStack } from '../../types/analysis.types';
interface CfnMetadata {
'aws:asset:path'?: string;
'aws:cdk:path'?: string;
[key: string]: unknown;
}
export type ResourceWithDisplay = Omit<CloudFormationResource, 'Metadata'> & {
Metadata?: CfnMetadata;
displayName?: string;
};
export interface ParseTemplateResult {
stacks: Record<string, CloudFormationStack>;
pathToLogicalId: Record<string, string>;
unifiedResourceMap: Record<string, ResourceWithDisplay>;
displayNameMap: Record<string, string>;
assetSourcePaths: Record<string, string>;
}
export declare function parseTemplateFiles(outDir: string): ParseTemplateResult;
export {};