@aws-cdk/integ-runner
Version:
CDK Integration Testing Tool
40 lines • 1.42 kB
TypeScript
/**
* Status of an unstable feature
*/
export declare enum FeatureStatus {
/** Feature is actively supported and can be used */
SUPPORTED = "supported",
/** Feature is deprecated but still functional - warns user */
DEPRECATED = "deprecated",
/** Feature has been removed - warns user and ignores */
REMOVED = "removed"
}
/**
* Definition of an unstable feature
*/
export interface UnstableFeature {
/** Current status of the feature */
readonly status: FeatureStatus;
/** Warning message to display when requested feature is deprecated */
readonly deprecationMessage: string;
/** Message to display for requested features that are removed */
readonly removalMessage: string;
}
/**
* Registry of all unstable features
*/
export declare const UNSTABLE_FEATURES: Record<string, UnstableFeature>;
/**
* Process unstable feature flags and emit appropriate warnings
*
* @param unstableFeatures - Array of feature names from CLI --unstable option
* @returns Array of valid, enabled feature names
*/
export declare function processUnstableFeatures(unstableFeatures?: string[]): string[];
/**
* Returns a description of available unstable features for CLI help text
*
* @returns A string describing available features or indicating none are available
*/
export declare function availableFeaturesDescription(): string;
//# sourceMappingURL=unstable-features.d.ts.map