cdk-insights
Version:
AWS CDK security and cost analysis tool with AI-powered insights
20 lines (19 loc) • 607 B
TypeScript
export interface LicenseQuotaInfo {
currentResourcesAnalyzed: number;
maxResources: number;
remainingResources: number;
isTrial: boolean;
trialExpired: boolean;
wouldExceed: boolean;
warningThreshold: number;
hardStopThreshold: number;
}
export interface QuotaValidationResult {
canProceed: boolean;
canRunStaticAnalysis: boolean;
canRunAIAnalysis: boolean;
quota: LicenseQuotaInfo;
reason?: string;
upgradePath?: string;
}
export declare const validateLicenseQuota: (licenseKey: string, requestedResources: number) => Promise<QuotaValidationResult>;