> ## 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.

# Python: StackAnnotation

> CDKTN Core API Reference for StackAnnotation in Python.

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

```python theme={null}
import cdktn

cdktn.StackAnnotation(
  construct_path: str,
  level: AnnotationMetadataEntryType,
  message: str,
  stacktrace: typing.List[str] = None
)
```

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

| **Name**                                                                                 | **Type**                                                                                  | **Description**   |
| ---------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------- |
| <code><a href="#cdktn.StackAnnotation.property.constructPath">construct\_path</a></code> | <code>str</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>str</code>                                                                          | *No description.* |
| <code><a href="#cdktn.StackAnnotation.property.stacktrace">stacktrace</a></code>         | <code>typing.List\[str]</code>                                                            | *No description.* |

***

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

```python theme={null}
construct_path: str
```

* *Type:* str

***

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

```python theme={null}
level: AnnotationMetadataEntryType
```

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

***

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

```python theme={null}
message: str
```

* *Type:* str

***

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

```python theme={null}
stacktrace: typing.List[str]
```

* *Type:* typing.List\[str]

***
