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

> CDKTN Core API Reference for DataTerraformRemoteStateHttpConfig in Go.

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

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

&cdktn.DataTerraformRemoteStateHttpConfig {
	Defaults: *map[string]interface{},
	Workspace: *string,
	Address: *string,
	ClientCaCertificatePem: *string,
	ClientCertificatePem: *string,
	ClientPrivateKeyPem: *string,
	LockAddress: *string,
	LockMethod: *string,
	Password: *string,
	RetryMax: *f64,
	RetryWaitMax: *f64,
	RetryWaitMin: *f64,
	SkipCertVerification: *bool,
	UnlockAddress: *string,
	UnlockMethod: *string,
	UpdateMethod: *string,
	Username: *string,
}
```

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

| **Name**                                                                                                                    | **Type**                                | **Description**                                                                                                           |
| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| <code><a href="#cdktn.DataTerraformRemoteStateHttpConfig.property.defaults">Defaults</a></code>                             | <code>\*map\[string]interface\{}</code> | *No description.*                                                                                                         |
| <code><a href="#cdktn.DataTerraformRemoteStateHttpConfig.property.workspace">Workspace</a></code>                           | <code>\*string</code>                   | *No description.*                                                                                                         |
| <code><a href="#cdktn.DataTerraformRemoteStateHttpConfig.property.address">Address</a></code>                               | <code>\*string</code>                   | (Required) The address of the REST endpoint.                                                                              |
| <code><a href="#cdktn.DataTerraformRemoteStateHttpConfig.property.clientCaCertificatePem">ClientCaCertificatePem</a></code> | <code>\*string</code>                   | (Optional) A PEM-encoded CA certificate chain used by the client to verify server certificates during TLS authentication. |
| <code><a href="#cdktn.DataTerraformRemoteStateHttpConfig.property.clientCertificatePem">ClientCertificatePem</a></code>     | <code>\*string</code>                   | (Optional) A PEM-encoded certificate used by the server to verify the client during mutual TLS (mTLS) authentication.     |
| <code><a href="#cdktn.DataTerraformRemoteStateHttpConfig.property.clientPrivateKeyPem">ClientPrivateKeyPem</a></code>       | <code>\*string</code>                   | (Optional) A PEM-encoded private key, required if client\_certificate\_pem is specified.                                  |
| <code><a href="#cdktn.DataTerraformRemoteStateHttpConfig.property.lockAddress">LockAddress</a></code>                       | <code>\*string</code>                   | (Optional) The address of the lock REST endpoint.                                                                         |
| <code><a href="#cdktn.DataTerraformRemoteStateHttpConfig.property.lockMethod">LockMethod</a></code>                         | <code>\*string</code>                   | (Optional) The HTTP method to use when locking.                                                                           |
| <code><a href="#cdktn.DataTerraformRemoteStateHttpConfig.property.password">Password</a></code>                             | <code>\*string</code>                   | (Optional) The password for HTTP basic authentication.                                                                    |
| <code><a href="#cdktn.DataTerraformRemoteStateHttpConfig.property.retryMax">RetryMax</a></code>                             | <code>\*f64</code>                      | (Optional) The number of HTTP request retries.                                                                            |
| <code><a href="#cdktn.DataTerraformRemoteStateHttpConfig.property.retryWaitMax">RetryWaitMax</a></code>                     | <code>\*f64</code>                      | (Optional) The maximum time in seconds to wait between HTTP request attempts.                                             |
| <code><a href="#cdktn.DataTerraformRemoteStateHttpConfig.property.retryWaitMin">RetryWaitMin</a></code>                     | <code>\*f64</code>                      | (Optional) The minimum time in seconds to wait between HTTP request attempts.                                             |
| <code><a href="#cdktn.DataTerraformRemoteStateHttpConfig.property.skipCertVerification">SkipCertVerification</a></code>     | <code>\*bool</code>                     | (Optional) Whether to skip TLS verification.                                                                              |
| <code><a href="#cdktn.DataTerraformRemoteStateHttpConfig.property.unlockAddress">UnlockAddress</a></code>                   | <code>\*string</code>                   | (Optional) The address of the unlock REST endpoint.                                                                       |
| <code><a href="#cdktn.DataTerraformRemoteStateHttpConfig.property.unlockMethod">UnlockMethod</a></code>                     | <code>\*string</code>                   | (Optional) The HTTP method to use when unlocking.                                                                         |
| <code><a href="#cdktn.DataTerraformRemoteStateHttpConfig.property.updateMethod">UpdateMethod</a></code>                     | <code>\*string</code>                   | (Optional) HTTP method to use when updating state.                                                                        |
| <code><a href="#cdktn.DataTerraformRemoteStateHttpConfig.property.username">Username</a></code>                             | <code>\*string</code>                   | (Optional) The username for HTTP basic authentication.                                                                    |

***

### `Defaults`<sup>Optional</sup> <a name="Defaults" id="cdktn.DataTerraformRemoteStateHttpConfig.property.defaults" />

```go theme={null}
Defaults *map[string]interface{}
```

* *Type:* \*map\[string]interface\{}

***

### `Workspace`<sup>Optional</sup> <a name="Workspace" id="cdktn.DataTerraformRemoteStateHttpConfig.property.workspace" />

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

* *Type:* \*string

***

### `Address`<sup>Required</sup> <a name="Address" id="cdktn.DataTerraformRemoteStateHttpConfig.property.address" />

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

* *Type:* \*string

(Required) The address of the REST endpoint.

***

### `ClientCaCertificatePem`<sup>Optional</sup> <a name="ClientCaCertificatePem" id="cdktn.DataTerraformRemoteStateHttpConfig.property.clientCaCertificatePem" />

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

* *Type:* \*string

(Optional) A PEM-encoded CA certificate chain used by the client to verify server certificates during TLS authentication.

***

### `ClientCertificatePem`<sup>Optional</sup> <a name="ClientCertificatePem" id="cdktn.DataTerraformRemoteStateHttpConfig.property.clientCertificatePem" />

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

* *Type:* \*string

(Optional) A PEM-encoded certificate used by the server to verify the client during mutual TLS (mTLS) authentication.

***

### `ClientPrivateKeyPem`<sup>Optional</sup> <a name="ClientPrivateKeyPem" id="cdktn.DataTerraformRemoteStateHttpConfig.property.clientPrivateKeyPem" />

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

* *Type:* \*string

(Optional) A PEM-encoded private key, required if client\_certificate\_pem is specified.

***

### `LockAddress`<sup>Optional</sup> <a name="LockAddress" id="cdktn.DataTerraformRemoteStateHttpConfig.property.lockAddress" />

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

* *Type:* \*string

(Optional) The address of the lock REST endpoint.

Defaults to disabled.

***

### `LockMethod`<sup>Optional</sup> <a name="LockMethod" id="cdktn.DataTerraformRemoteStateHttpConfig.property.lockMethod" />

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

* *Type:* \*string

(Optional) The HTTP method to use when locking.

Defaults to LOCK.

***

### `Password`<sup>Optional</sup> <a name="Password" id="cdktn.DataTerraformRemoteStateHttpConfig.property.password" />

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

* *Type:* \*string

(Optional) The password for HTTP basic authentication.

***

### `RetryMax`<sup>Optional</sup> <a name="RetryMax" id="cdktn.DataTerraformRemoteStateHttpConfig.property.retryMax" />

```go theme={null}
RetryMax *f64
```

* *Type:* \*f64

(Optional) The number of HTTP request retries.

Defaults to 2.

***

### `RetryWaitMax`<sup>Optional</sup> <a name="RetryWaitMax" id="cdktn.DataTerraformRemoteStateHttpConfig.property.retryWaitMax" />

```go theme={null}
RetryWaitMax *f64
```

* *Type:* \*f64

(Optional) The maximum time in seconds to wait between HTTP request attempts.

Defaults to 30.

***

### `RetryWaitMin`<sup>Optional</sup> <a name="RetryWaitMin" id="cdktn.DataTerraformRemoteStateHttpConfig.property.retryWaitMin" />

```go theme={null}
RetryWaitMin *f64
```

* *Type:* \*f64

(Optional) The minimum time in seconds to wait between HTTP request attempts.

Defaults to 1.

***

### `SkipCertVerification`<sup>Optional</sup> <a name="SkipCertVerification" id="cdktn.DataTerraformRemoteStateHttpConfig.property.skipCertVerification" />

```go theme={null}
SkipCertVerification *bool
```

* *Type:* \*bool

(Optional) Whether to skip TLS verification.

Defaults to false.

***

### `UnlockAddress`<sup>Optional</sup> <a name="UnlockAddress" id="cdktn.DataTerraformRemoteStateHttpConfig.property.unlockAddress" />

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

* *Type:* \*string

(Optional) The address of the unlock REST endpoint.

Defaults to disabled.

***

### `UnlockMethod`<sup>Optional</sup> <a name="UnlockMethod" id="cdktn.DataTerraformRemoteStateHttpConfig.property.unlockMethod" />

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

* *Type:* \*string

(Optional) The HTTP method to use when unlocking.

Defaults to UNLOCK.

***

### `UpdateMethod`<sup>Optional</sup> <a name="UpdateMethod" id="cdktn.DataTerraformRemoteStateHttpConfig.property.updateMethod" />

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

* *Type:* \*string

(Optional) HTTP method to use when updating state.

Defaults to POST.

***

### `Username`<sup>Optional</sup> <a name="Username" id="cdktn.DataTerraformRemoteStateHttpConfig.property.username" />

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

* *Type:* \*string

(Optional) The username for HTTP basic authentication.

***
