UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

28 lines (27 loc) 805 B
import * as cxschema from '../../cloud-assembly-schema'; /** * The key used when CDK path is embedded in **CloudFormation template** metadata (not cdk metadata). */ export declare const PATH_METADATA_KEY = "aws:cdk:path"; export declare enum SynthesisMessageLevel { INFO = "info", WARNING = "warning", ERROR = "error" } export interface MetadataEntryResult extends cxschema.MetadataEntry { /** * The path in which this entry was defined. */ readonly path: string; } /** * Metadata associated with the objects in the stack's Construct tree */ export type StackMetadata = { [path: string]: cxschema.MetadataEntry[]; }; export interface SynthesisMessage { readonly level: SynthesisMessageLevel; readonly id: string; readonly entry: cxschema.MetadataEntry; }