CodeLocationProperty Struct Added in v2.274.0
Identifies a code location to instrument.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_applicationsignals as applicationsignals } from 'aws-cdk-lib';
const codeLocationProperty: applicationsignals.CfnInstrumentationConfig.CodeLocationProperty = {
filePath: 'filePath',
language: 'language',
// the properties below are optional
className: 'className',
codeUnit: 'codeUnit',
lineNumber: 123,
methodName: 'methodName',
};
Properties
The class or type name that contains the method.
The package, module, or namespace that contains the target code.
The source file path relative to the project or source root.
The programming language for this instrumentation point.
The line number to instrument.
The method or function name to instrument.