MCPcopy Create free account
hub / github.com/aws/constructs / MetadataOptions

Interface MetadataOptions

src/construct.ts:643–664  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

641 * Options for `construct.addMetadata()`.
642 */
643export interface MetadataOptions {
644 /**
645 * Include stack trace with metadata entry.
646 * @default false
647 */
648 readonly stackTrace?: boolean;
649
650 /**
651 * A JavaScript function to begin tracing from.
652 *
653 * This option is ignored unless `stackTrace` is `true`.
654 *
655 * @default addMetadata()
656 */
657 readonly traceFromFunction?: any;
658
659 /**
660 * The actual stack trace to be added to the metadata. If this
661 * parameter is passed, the stackTrace parameter is ignored.
662 */
663 readonly stackTraceOverride?: string[];
664}
665
666// Mark all instances of 'Construct'
667Object.defineProperty(Construct.prototype, CONSTRUCT_SYM, {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected