# CaptureLimitsConfigProperty

Safety limits that bound what is captured.

- Source: Generated code
- Type last changed: v2.274.0 · 20 Oct 2026

## 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 captureLimitsConfigProperty: applicationsignals.CfnInstrumentationConfig.CaptureLimitsConfigProperty = {
  maxCollectionDepth: 123,
  maxCollectionWidth: 123,
  maxFieldsPerObject: 123,
  maxHits: 123,
  maxObjectDepth: 123,
  maxStackFrames: 123,
  maxStackTraceSize: 123,
  maxStringLength: 123,
};
```

## Properties

- `maxCollectionDepth`: number — Maximum nesting depth to traverse inside collections.

- `maxCollectionWidth`: number — Maximum number of items to capture from any collection.

- `maxFieldsPerObject`: number — Maximum number of fields to capture for any object.

- `maxHits`: number — Maximum number of times the instrumentation point can be hit before disabled.

- `maxObjectDepth`: number — Maximum depth for nested object traversal.

- `maxStackFrames`: number — Maximum number of stack frames to capture.

- `maxStackTraceSize`: number — Maximum total size in bytes of a captured stack trace.

- `maxStringLength`: number — Maximum length of captured string values in characters.
