# MetadataOptions

Options for `construct.addMetadata()`.

- Source: [`src/construct.ts`](https://github.com/aws/constructs/blob/v10.8.1/src/construct.ts#L657)

## Properties

- `stackTrace`: boolean = false — Include stack trace with metadata entry.

- `stackTraceOverride`: string[] — The actual stack trace to be added to the metadata.

  If this
  parameter is passed, the stackTrace parameter is ignored.

- `traceFromFunction`: any = addMetadata() — A JavaScript function to begin tracing from.

  This option is ignored unless `stackTrace` is `true`.
