MCPcopy Index your code
hub / github.com/aws/constructs / MetadataOptions

Interface MetadataOptions

src/construct.ts:616–637  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

614 * Options for `construct.addMetadata()`.
615 */
616export interface MetadataOptions {
617 /**
618 * Include stack trace with metadata entry.
619 * @default false
620 */
621 readonly stackTrace?: boolean;
622
623 /**
624 * A JavaScript function to begin tracing from.
625 *
626 * This option is ignored unless `stackTrace` is `true`.
627 *
628 * @default addMetadata()
629 */
630 readonly traceFromFunction?: any;
631
632 /**
633 * The actual stack trace to be added to the metadata. If this
634 * parameter is passed, the stackTrace parameter is ignored.
635 */
636 readonly stackTraceOverride?: string[];
637}
638
639// Mark all instances of 'Construct'
640Object.defineProperty(Construct.prototype, CONSTRUCT_SYM, {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…