@aws-cdk/assert
Version:
An assertion library for use with CDK Apps
12 lines (11 loc) • 444 B
TypeScript
/**
* Reduce template to a normal form where asset references have been normalized
*
* This makes it possible to compare templates if all that's different between
* them is the hashes of the asset values.
*
* Currently only handles parameterized assets, but can (and should)
* be adapted to handle convention-mode assets as well when we start using
* more of those.
*/
export declare function canonicalizeTemplate(template: any): any;