UNPKG

@aws-cdk/core

Version:

AWS Cloud Development Kit Core Library

11 lines (10 loc) 402 B
/** * Calculates a unique ID for a set of textual components. * * This is done by calculating a hash on the full path and using it as a suffix * of a length-limited "human" rendition of the path components. * * @param components The path components * @returns a unique alpha-numeric identifier with a maximum length of 255 */ export declare function makeUniqueId(components: string[]): string;