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

# Go: StackAnnotation

> CDKTN Core API Reference for StackAnnotation in Go.

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

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

&cdktn.StackAnnotation {
	ConstructPath: *string,
	Level: github.com/open-constructs/cdk-terrain-go/cdktn.AnnotationMetadataEntryType,
	Message: *string,
	Stacktrace: *[]*string,
}
```

## 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" />

```go theme={null}
ConstructPath *string
```

* *Type:* \*string

***

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

```go theme={null}
Level AnnotationMetadataEntryType
```

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

***

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

```go theme={null}
Message *string
```

* *Type:* \*string

***

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

```go theme={null}
Stacktrace *[]*string
```

* *Type:* \*\[]\*string

***
