aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
16 lines (15 loc) • 433 B
TypeScript
import type { IConstruct } from 'constructs';
/**
* Source information on a construct (class fqn and version)
*/
export interface ConstructInfo {
/**
* The FQN of the construct.
*/
readonly fqn: string;
/**
* The version of the package the construct belongs to.
*/
readonly version: string;
}
export declare function constructInfoFromConstruct(construct: IConstruct): ConstructInfo | undefined;