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

> CDKTN Core API Reference for Manifest in Python.

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

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

```python theme={null}
import cdktn

cdktn.Manifest(
  version: str,
  outdir: str,
  hcl_output: bool
)
```

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

***

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

* *Type:* str

***

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

* *Type:* str

***

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

* *Type:* bool

***

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

| **Name**                                                                 | **Description**   |
| ------------------------------------------------------------------------ | ----------------- |
| <code><a href="#cdktn.Manifest.buildManifest">build\_manifest</a></code> | *No description.* |
| <code><a href="#cdktn.Manifest.forStack">for\_stack</a></code>           | *No description.* |
| <code><a href="#cdktn.Manifest.writeToFile">write\_to\_file</a></code>   | *No description.* |

***

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

```python theme={null}
def build_manifest() -> IManifest
```

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

```python theme={null}
def for_stack(
  stack: TerraformStack
) -> StackManifest
```

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

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

***

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

```python theme={null}
def write_to_file() -> None
```

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

| **Name**                                                                            | **Type**                                                                       | **Description**   |
| ----------------------------------------------------------------------------------- | ------------------------------------------------------------------------------ | ----------------- |
| <code><a href="#cdktn.Manifest.property.hclOutput">hcl\_output</a></code>           | <code>bool</code>                                                              | *No description.* |
| <code><a href="#cdktn.Manifest.property.outdir">outdir</a></code>                   | <code>str</code>                                                               | *No description.* |
| <code><a href="#cdktn.Manifest.property.stackFileName">stack\_file\_name</a></code> | <code>str</code>                                                               | *No description.* |
| <code><a href="#cdktn.Manifest.property.stacks">stacks</a></code>                   | <code>typing.Mapping\[<a href="#cdktn.StackManifest">StackManifest</a>]</code> | *No description.* |
| <code><a href="#cdktn.Manifest.property.version">version</a></code>                 | <code>str</code>                                                               | *No description.* |

***

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

```python theme={null}
hcl_output: bool
```

* *Type:* bool

***

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

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

* *Type:* str

***

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

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

* *Type:* str

***

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

```python theme={null}
stacks: typing.Mapping[StackManifest]
```

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

***

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

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

* *Type:* str

***

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

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

***

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

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

* *Type:* str

***

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

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

* *Type:* str

***

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

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

* *Type:* str

***
