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

# Typescript: DataTerraformRemoteStateHttpConfig

> CDKTN Core API Reference for DataTerraformRemoteStateHttpConfig in Typescript.

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

```typescript theme={null}
import { DataTerraformRemoteStateHttpConfig } from 'cdktn'

const dataTerraformRemoteStateHttpConfig: DataTerraformRemoteStateHttpConfig = { ... }
```

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

| **Name**                                                                                                                    | **Type**                              | **Description**                                                                                                           |
| --------------------------------------------------------------------------------------------------------------------------- | ------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| <code><a href="#cdktn.DataTerraformRemoteStateHttpConfig.property.defaults">defaults</a></code>                             | <code>\{\[ key: string ]: any}</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>number</code>                   | (Optional) The number of HTTP request retries.                                                                            |
| <code><a href="#cdktn.DataTerraformRemoteStateHttpConfig.property.retryWaitMax">retryWaitMax</a></code>                     | <code>number</code>                   | (Optional) The maximum time in seconds to wait between HTTP request attempts.                                             |
| <code><a href="#cdktn.DataTerraformRemoteStateHttpConfig.property.retryWaitMin">retryWaitMin</a></code>                     | <code>number</code>                   | (Optional) The minimum time in seconds to wait between HTTP request attempts.                                             |
| <code><a href="#cdktn.DataTerraformRemoteStateHttpConfig.property.skipCertVerification">skipCertVerification</a></code>     | <code>boolean</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" />

```typescript theme={null}
public readonly defaults: {[ key: string ]: any};
```

* *Type:* \{\[ key: string ]: any}

***

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

```typescript theme={null}
public readonly workspace: string;
```

* *Type:* string

***

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

```typescript theme={null}
public readonly address: string;
```

* *Type:* string

(Required) The address of the REST endpoint.

***

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

```typescript theme={null}
public readonly 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" />

```typescript theme={null}
public readonly 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" />

```typescript theme={null}
public readonly 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" />

```typescript theme={null}
public readonly 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" />

```typescript theme={null}
public readonly 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" />

```typescript theme={null}
public readonly password: string;
```

* *Type:* string

(Optional) The password for HTTP basic authentication.

***

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

```typescript theme={null}
public readonly retryMax: number;
```

* *Type:* number

(Optional) The number of HTTP request retries.

Defaults to 2.

***

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

```typescript theme={null}
public readonly retryWaitMax: number;
```

* *Type:* number

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

```typescript theme={null}
public readonly retryWaitMin: number;
```

* *Type:* number

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

```typescript theme={null}
public readonly skipCertVerification: boolean;
```

* *Type:* boolean

(Optional) Whether to skip TLS verification.

Defaults to false.

***

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

```typescript theme={null}
public readonly 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" />

```typescript theme={null}
public readonly 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" />

```typescript theme={null}
public readonly 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" />

```typescript theme={null}
public readonly username: string;
```

* *Type:* string

(Optional) The username for HTTP basic authentication.

***
