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

> CDKTN Core API Reference for DataConfig in Python.

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

```python theme={null}
import cdktn

cdktn.DataConfig(
  connection: SSHProvisionerConnection | WinrmProvisionerConnection = None,
  count: typing.Union[int, float] | TerraformCount = None,
  depends_on: typing.List[ITerraformDependable] = None,
  for_each: ITerraformIterator = None,
  lifecycle: TerraformResourceLifecycle = None,
  provider: TerraformProvider = None,
  provisioners: typing.List[FileProvisioner | LocalExecProvisioner | RemoteExecProvisioner] = None,
  input: typing.Mapping[typing.Any] = None,
  triggers_replace: typing.Mapping[typing.Any] = None
)
```

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

| **Name**                                                                                | **Type**                                                                                                                                                                                                              | **Description**                                                                                                   |
| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| <code><a href="#cdktn.DataConfig.property.connection">connection</a></code>             | <code><a href="#cdktn.SSHProvisionerConnection">SSHProvisionerConnection</a> \| <a href="#cdktn.WinrmProvisionerConnection">WinrmProvisionerConnection</a></code>                                                     | *No description.*                                                                                                 |
| <code><a href="#cdktn.DataConfig.property.count">count</a></code>                       | <code>typing.Union\[int, float] \| <a href="#cdktn.TerraformCount">TerraformCount</a></code>                                                                                                                          | *No description.*                                                                                                 |
| <code><a href="#cdktn.DataConfig.property.dependsOn">depends\_on</a></code>             | <code>typing.List\[<a href="#cdktn.ITerraformDependable">ITerraformDependable</a>]</code>                                                                                                                             | *No description.*                                                                                                 |
| <code><a href="#cdktn.DataConfig.property.forEach">for\_each</a></code>                 | <code><a href="#cdktn.ITerraformIterator">ITerraformIterator</a></code>                                                                                                                                               | *No description.*                                                                                                 |
| <code><a href="#cdktn.DataConfig.property.lifecycle">lifecycle</a></code>               | <code><a href="#cdktn.TerraformResourceLifecycle">TerraformResourceLifecycle</a></code>                                                                                                                               | *No description.*                                                                                                 |
| <code><a href="#cdktn.DataConfig.property.provider">provider</a></code>                 | <code><a href="#cdktn.TerraformProvider">TerraformProvider</a></code>                                                                                                                                                 | *No description.*                                                                                                 |
| <code><a href="#cdktn.DataConfig.property.provisioners">provisioners</a></code>         | <code>typing.List\[<a href="#cdktn.FileProvisioner">FileProvisioner</a> \| <a href="#cdktn.LocalExecProvisioner">LocalExecProvisioner</a> \| <a href="#cdktn.RemoteExecProvisioner">RemoteExecProvisioner</a>]</code> | *No description.*                                                                                                 |
| <code><a href="#cdktn.DataConfig.property.input">input</a></code>                       | <code>typing.Mapping\[typing.Any]</code>                                                                                                                                                                              | (Optional) A value which will be stored in the instance state, and reflected in the output attribute after apply. |
| <code><a href="#cdktn.DataConfig.property.triggersReplace">triggers\_replace</a></code> | <code>typing.Mapping\[typing.Any]</code>                                                                                                                                                                              | (Optional) A value which is stored in the instance state, and will force replacement when the value changes.      |

***

### `connection`<sup>Optional</sup> <a name="connection" id="cdktn.DataConfig.property.connection" />

```python theme={null}
connection: SSHProvisionerConnection | WinrmProvisionerConnection
```

* *Type:* <a href="#cdktn.SSHProvisionerConnection">SSHProvisionerConnection</a> | <a href="#cdktn.WinrmProvisionerConnection">WinrmProvisionerConnection</a>

***

### `count`<sup>Optional</sup> <a name="count" id="cdktn.DataConfig.property.count" />

```python theme={null}
count: typing.Union[int, float] | TerraformCount
```

* *Type:* typing.Union\[int, float] | <a href="#cdktn.TerraformCount">TerraformCount</a>

***

### `depends_on`<sup>Optional</sup> <a name="depends_on" id="cdktn.DataConfig.property.dependsOn" />

```python theme={null}
depends_on: typing.List[ITerraformDependable]
```

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

***

### `for_each`<sup>Optional</sup> <a name="for_each" id="cdktn.DataConfig.property.forEach" />

```python theme={null}
for_each: ITerraformIterator
```

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

***

### `lifecycle`<sup>Optional</sup> <a name="lifecycle" id="cdktn.DataConfig.property.lifecycle" />

```python theme={null}
lifecycle: TerraformResourceLifecycle
```

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

***

### `provider`<sup>Optional</sup> <a name="provider" id="cdktn.DataConfig.property.provider" />

```python theme={null}
provider: TerraformProvider
```

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

***

### `provisioners`<sup>Optional</sup> <a name="provisioners" id="cdktn.DataConfig.property.provisioners" />

```python theme={null}
provisioners: typing.List[FileProvisioner | LocalExecProvisioner | RemoteExecProvisioner]
```

* *Type:* typing.List\[<a href="#cdktn.FileProvisioner">FileProvisioner</a> | <a href="#cdktn.LocalExecProvisioner">LocalExecProvisioner</a> | <a href="#cdktn.RemoteExecProvisioner">RemoteExecProvisioner</a>]

***

### `input`<sup>Optional</sup> <a name="input" id="cdktn.DataConfig.property.input" />

```python theme={null}
input: typing.Mapping[typing.Any]
```

* *Type:* typing.Mapping\[typing.Any]

(Optional) A value which will be stored in the instance state, and reflected in the output attribute after apply.

[https://developer.hashicorp.com/terraform/language/resources/terraform-data#input](https://developer.hashicorp.com/terraform/language/resources/terraform-data#input)

***

### `triggers_replace`<sup>Optional</sup> <a name="triggers_replace" id="cdktn.DataConfig.property.triggersReplace" />

```python theme={null}
triggers_replace: typing.Mapping[typing.Any]
```

* *Type:* typing.Mapping\[typing.Any]

(Optional) A value which is stored in the instance state, and will force replacement when the value changes.

[https://developer.hashicorp.com/terraform/language/resources/terraform-data#triggers\\\_replace](https://developer.hashicorp.com/terraform/language/resources/terraform-data#triggers\\_replace)

***
