> ## Documentation Index
> Fetch the complete documentation index at: https://cdktn.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Typescript: StackAnnotation

> CDKTN Core API Reference for StackAnnotation in Typescript.

## Initializer <a name="Initializer" id="cdktn.StackAnnotation.Initializer" />

```typescript theme={null}
import { StackAnnotation } from 'cdktn'

const stackAnnotation: StackAnnotation = { ... }
```

## Properties <a name="Properties" id="Properties" />

| **Name**                                                                               | **Type**                                                                                  | **Description**   |
| -------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------- |
| <code><a href="#cdktn.StackAnnotation.property.constructPath">constructPath</a></code> | <code>string</code>                                                                       | *No description.* |
| <code><a href="#cdktn.StackAnnotation.property.level">level</a></code>                 | <code><a href="#cdktn.AnnotationMetadataEntryType">AnnotationMetadataEntryType</a></code> | *No description.* |
| <code><a href="#cdktn.StackAnnotation.property.message">message</a></code>             | <code>string</code>                                                                       | *No description.* |
| <code><a href="#cdktn.StackAnnotation.property.stacktrace">stacktrace</a></code>       | <code>string\[]</code>                                                                    | *No description.* |

***

### `constructPath`<sup>Required</sup> <a name="constructPath" id="cdktn.StackAnnotation.property.constructPath" />

```typescript theme={null}
public readonly constructPath: string;
```

* *Type:* string

***

### `level`<sup>Required</sup> <a name="level" id="cdktn.StackAnnotation.property.level" />

```typescript theme={null}
public readonly level: AnnotationMetadataEntryType;
```

* *Type:* <a href="#cdktn.AnnotationMetadataEntryType">AnnotationMetadataEntryType</a>

***

### `message`<sup>Required</sup> <a name="message" id="cdktn.StackAnnotation.property.message" />

```typescript theme={null}
public readonly message: string;
```

* *Type:* string

***

### `stacktrace`<sup>Optional</sup> <a name="stacktrace" id="cdktn.StackAnnotation.property.stacktrace" />

```typescript theme={null}
public readonly stacktrace: string[];
```

* *Type:* string\[]

***
