> ## 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: Manifest

> CDKTN Core API Reference for Manifest in Go.

* *Implements:* <a href="#cdktn.IManifest">IManifest</a>

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

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

cdktn.NewManifest(version *string, outdir *string, hclOutput *bool) Manifest
```

| **Name**                                                                             | **Type**              | **Description**   |
| ------------------------------------------------------------------------------------ | --------------------- | ----------------- |
| <code><a href="#cdktn.Manifest.Initializer.parameter.version">version</a></code>     | <code>\*string</code> | *No description.* |
| <code><a href="#cdktn.Manifest.Initializer.parameter.outdir">outdir</a></code>       | <code>\*string</code> | *No description.* |
| <code><a href="#cdktn.Manifest.Initializer.parameter.hclOutput">hclOutput</a></code> | <code>\*bool</code>   | *No description.* |

***

### `version`<sup>Required</sup> <a name="version" id="cdktn.Manifest.Initializer.parameter.version" />

* *Type:* \*string

***

### `outdir`<sup>Required</sup> <a name="outdir" id="cdktn.Manifest.Initializer.parameter.outdir" />

* *Type:* \*string

***

### `hclOutput`<sup>Required</sup> <a name="hclOutput" id="cdktn.Manifest.Initializer.parameter.hclOutput" />

* *Type:* \*bool

***

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

| **Name**                                                               | **Description**   |
| ---------------------------------------------------------------------- | ----------------- |
| <code><a href="#cdktn.Manifest.buildManifest">BuildManifest</a></code> | *No description.* |
| <code><a href="#cdktn.Manifest.forStack">ForStack</a></code>           | *No description.* |
| <code><a href="#cdktn.Manifest.writeToFile">WriteToFile</a></code>     | *No description.* |

***

### `BuildManifest` <a name="BuildManifest" id="cdktn.Manifest.buildManifest" />

```go theme={null}
func BuildManifest() IManifest
```

### `ForStack` <a name="ForStack" id="cdktn.Manifest.forStack" />

```go theme={null}
func ForStack(stack TerraformStack) StackManifest
```

#### `stack`<sup>Required</sup> <a name="stack" id="cdktn.Manifest.forStack.parameter.stack" />

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

***

### `WriteToFile` <a name="WriteToFile" id="cdktn.Manifest.writeToFile" />

```go theme={null}
func WriteToFile()
```

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

| **Name**                                                                        | **Type**                                                                    | **Description**   |
| ------------------------------------------------------------------------------- | --------------------------------------------------------------------------- | ----------------- |
| <code><a href="#cdktn.Manifest.property.hclOutput">HclOutput</a></code>         | <code>\*bool</code>                                                         | *No description.* |
| <code><a href="#cdktn.Manifest.property.outdir">Outdir</a></code>               | <code>\*string</code>                                                       | *No description.* |
| <code><a href="#cdktn.Manifest.property.stackFileName">StackFileName</a></code> | <code>\*string</code>                                                       | *No description.* |
| <code><a href="#cdktn.Manifest.property.stacks">Stacks</a></code>               | <code>\*map\[string]<a href="#cdktn.StackManifest">StackManifest</a></code> | *No description.* |
| <code><a href="#cdktn.Manifest.property.version">Version</a></code>             | <code>\*string</code>                                                       | *No description.* |

***

### `HclOutput`<sup>Required</sup> <a name="HclOutput" id="cdktn.Manifest.property.hclOutput" />

```go theme={null}
func HclOutput() *bool
```

* *Type:* \*bool

***

### `Outdir`<sup>Required</sup> <a name="Outdir" id="cdktn.Manifest.property.outdir" />

```go theme={null}
func Outdir() *string
```

* *Type:* \*string

***

### `StackFileName`<sup>Required</sup> <a name="StackFileName" id="cdktn.Manifest.property.stackFileName" />

```go theme={null}
func StackFileName() *string
```

* *Type:* \*string

***

### `Stacks`<sup>Required</sup> <a name="Stacks" id="cdktn.Manifest.property.stacks" />

```go theme={null}
func Stacks() *map[string]StackManifest
```

* *Type:* \*map\[string]<a href="#cdktn.StackManifest">StackManifest</a>

***

### `Version`<sup>Required</sup> <a name="Version" id="cdktn.Manifest.property.version" />

```go theme={null}
func Version() *string
```

* *Type:* \*string

***

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

| **Name**                                                                                | **Type**              | **Description**   |
| --------------------------------------------------------------------------------------- | --------------------- | ----------------- |
| <code><a href="#cdktn.Manifest.property.fileName">FileName</a></code>                   | <code>\*string</code> | *No description.* |
| <code><a href="#cdktn.Manifest.property.stackMetadataPath">StackMetadataPath</a></code> | <code>\*string</code> | *No description.* |
| <code><a href="#cdktn.Manifest.property.stacksFolder">StacksFolder</a></code>           | <code>\*string</code> | *No description.* |

***

### `FileName`<sup>Required</sup> <a name="FileName" id="cdktn.Manifest.property.fileName" />

```go theme={null}
func FileName() *string
```

* *Type:* \*string

***

### `StackMetadataPath`<sup>Required</sup> <a name="StackMetadataPath" id="cdktn.Manifest.property.stackMetadataPath" />

```go theme={null}
func StackMetadataPath() *string
```

* *Type:* \*string

***

### `StacksFolder`<sup>Required</sup> <a name="StacksFolder" id="cdktn.Manifest.property.stacksFolder" />

```go theme={null}
func StacksFolder() *string
```

* *Type:* \*string

***
