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

# CSharp: DataConfig

> CDKTN Core API Reference for DataConfig in CSharp.

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

```csharp theme={null}
using Io.Cdktn;

new DataConfig {
    SSHProvisionerConnection|WinrmProvisionerConnection Connection = null,
    double|TerraformCount Count = null,
    ITerraformDependable[] DependsOn = null,
    ITerraformIterator ForEach = null,
    TerraformResourceLifecycle Lifecycle = null,
    TerraformProvider Provider = null,
    (FileProvisioner|LocalExecProvisioner|RemoteExecProvisioner)[] Provisioners = null,
    System.Collections.Generic.IDictionary<string, object> Input = null,
    System.Collections.Generic.IDictionary<string, object> TriggersReplace = null
};
```

## 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>double\|<a href="#cdktn.TerraformCount">TerraformCount</a></code>                                                                                                                                | *No description.*                                                                                                 |
| <code><a href="#cdktn.DataConfig.property.dependsOn">DependsOn</a></code>             | <code><a href="#cdktn.ITerraformDependable">ITerraformDependable</a>\[]</code>                                                                                                                         | *No description.*                                                                                                 |
| <code><a href="#cdktn.DataConfig.property.forEach">ForEach</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><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>System.Collections.Generic.IDictionary\< string, object ></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">TriggersReplace</a></code> | <code>System.Collections.Generic.IDictionary\< string, object ></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" />

```csharp theme={null}
public SSHProvisionerConnection|WinrmProvisionerConnection Connection { get; set; }
```

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

```csharp theme={null}
public double|TerraformCount Count { get; set; }
```

* *Type:* double|<a href="#cdktn.TerraformCount">TerraformCount</a>

***

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

```csharp theme={null}
public ITerraformDependable[] DependsOn { get; set; }
```

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

***

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

```csharp theme={null}
public ITerraformIterator ForEach { get; set; }
```

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

***

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

```csharp theme={null}
public TerraformResourceLifecycle Lifecycle { get; set; }
```

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

***

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

```csharp theme={null}
public TerraformProvider Provider { get; set; }
```

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

***

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

```csharp theme={null}
public (FileProvisioner|LocalExecProvisioner|RemoteExecProvisioner)[] Provisioners { get; set; }
```

* *Type:* <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" />

```csharp theme={null}
public System.Collections.Generic.IDictionary<string, object> Input { get; set; }
```

* *Type:* System.Collections.Generic.IDictionary\< string, object >

(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)

***

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

```csharp theme={null}
public System.Collections.Generic.IDictionary<string, object> TriggersReplace { get; set; }
```

* *Type:* System.Collections.Generic.IDictionary\< string, object >

(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)

***
