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

Interface MetadataOptions

src/construct.ts:657–678  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

655 * Options for `construct.addMetadata()`.
656 */
657export interface MetadataOptions {
658 /**
659 * Include stack trace with metadata entry.
660 * @default false
661 */
662 readonly stackTrace?: boolean;
663
664 /**
665 * A JavaScript function to begin tracing from.
666 *
667 * This option is ignored unless `stackTrace` is `true`.
668 *
669 * @default addMetadata()
670 */
671 readonly traceFromFunction?: any;
672
673 /**
674 * The actual stack trace to be added to the metadata. If this
675 * parameter is passed, the stackTrace parameter is ignored.
676 */
677 readonly stackTraceOverride?: string[];
678}
679
680// Mark all instances of 'Construct'
681Object.defineProperty(Construct.prototype, CONSTRUCT_SYM, {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected