CaptureConfigurationProperty Struct Added in v2.274.0
Specifies what to capture when the instrumentation point is hit.
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 captureConfigurationProperty: applicationsignals.CfnInstrumentationConfig.CaptureConfigurationProperty = {
codeCapture: {
captureLimits: {
maxCollectionDepth: 123,
maxCollectionWidth: 123,
maxFieldsPerObject: 123,
maxHits: 123,
maxObjectDepth: 123,
maxStackFrames: 123,
maxStackTraceSize: 123,
maxStringLength: 123,
},
// the properties below are optional
captureArguments: ['captureArguments'],
captureLocals: ['captureLocals'],
captureReturn: false,
captureStackTrace: false,
},
};
Properties
codeCaptureIResolvable | CfnInstrumentationConfig.CodeCaptureConfigurationPropertycode_capturetyping.Union[IResolvable, CodeCaptureConfigurationProperty]codeCaptureIResolvableCodeCaptureIResolvableCodeCaptureinterface{}required#Defines what data to capture for code-level instrumentation.