MetadataOptions
- class constructs.MetadataOptions(*, stack_trace=None, stack_trace_override=None, trace_from_function=None)
Bases:
objectOptions for
construct.addMetadata().- Parameters:
stack_trace (
Optional[bool]) – Include stack trace with metadata entry. Default: falsestack_trace_override (
Optional[Sequence[str]]) – The actual stack trace to be added to the metadata. If this parameter is passed, the stackTrace parameter is ignored.trace_from_function (
Any) – A JavaScript function to begin tracing from. This option is ignored unlessstackTraceistrue. Default: addMetadata()
Attributes
- stack_trace
Include stack trace with metadata entry.
- Default:
false
- stack_trace_override
The actual stack trace to be added to the metadata.
If this parameter is passed, the stackTrace parameter is ignored.
- trace_from_function
A JavaScript function to begin tracing from.
This option is ignored unless
stackTraceistrue.- Default:
addMetadata()