aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
11 lines (10 loc) • 402 B
TypeScript
/**
* 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;