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

Interface MetadataOptions

src/construct.ts:646–667  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected