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

> CDKTN Core API Reference for SwiftBackend in CSharp.

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

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

new SwiftBackend(Construct Scope, SwiftBackendConfig Props);
```

| **Name**                                                                         | **Type**                                                                | **Description**   |
| -------------------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------- |
| <code><a href="#cdktn.SwiftBackend.Initializer.parameter.scope">Scope</a></code> | <code>Constructs.Construct</code>                                       | *No description.* |
| <code><a href="#cdktn.SwiftBackend.Initializer.parameter.props">Props</a></code> | <code><a href="#cdktn.SwiftBackendConfig">SwiftBackendConfig</a></code> | *No description.* |

***

### `Scope`<sup>Required</sup> <a name="Scope" id="cdktn.SwiftBackend.Initializer.parameter.scope" />

* *Type:* Constructs.Construct

***

### `Props`<sup>Required</sup> <a name="Props" id="cdktn.SwiftBackend.Initializer.parameter.props" />

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

***

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

| **Name**                                                                                         | **Description**                                                                   |
| ------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------- |
| <code><a href="#cdktn.SwiftBackend.toString">ToString</a></code>                                 | Returns a string representation of this construct.                                |
| <code><a href="#cdktn.SwiftBackend.with">With</a></code>                                         | Applies one or more mixins to this construct.                                     |
| <code><a href="#cdktn.SwiftBackend.addOverride">AddOverride</a></code>                           | *No description.*                                                                 |
| <code><a href="#cdktn.SwiftBackend.overrideLogicalId">OverrideLogicalId</a></code>               | Overrides the auto-generated logical ID with a specific ID.                       |
| <code><a href="#cdktn.SwiftBackend.resetOverrideLogicalId">ResetOverrideLogicalId</a></code>     | Resets a previously passed logical Id to use the auto-generated logical id again. |
| <code><a href="#cdktn.SwiftBackend.toHclTerraform">ToHclTerraform</a></code>                     | *No description.*                                                                 |
| <code><a href="#cdktn.SwiftBackend.toMetadata">ToMetadata</a></code>                             | *No description.*                                                                 |
| <code><a href="#cdktn.SwiftBackend.toTerraform">ToTerraform</a></code>                           | Adds this resource to the terraform JSON output.                                  |
| <code><a href="#cdktn.SwiftBackend.getRemoteStateDataSource">GetRemoteStateDataSource</a></code> | Creates a TerraformRemoteState resource that accesses this backend.               |

***

### ~~`ToString`~~ <a name="ToString" id="cdktn.SwiftBackend.toString" />

```csharp theme={null}
private string ToString()
```

Returns a string representation of this construct.

### ~~`With`~~ <a name="With" id="cdktn.SwiftBackend.with" />

```csharp theme={null}
private IConstruct With(params IMixin[] Mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

#### `Mixins`<sup>Required</sup> <a name="Mixins" id="cdktn.SwiftBackend.with.parameter.mixins" />

* *Type:* params Constructs.IMixin\[]

The mixins to apply.

***

### ~~`AddOverride`~~ <a name="AddOverride" id="cdktn.SwiftBackend.addOverride" />

```csharp theme={null}
private void AddOverride(string Path, object Value)
```

#### `Path`<sup>Required</sup> <a name="Path" id="cdktn.SwiftBackend.addOverride.parameter.path" />

* *Type:* string

***

#### `Value`<sup>Required</sup> <a name="Value" id="cdktn.SwiftBackend.addOverride.parameter.value" />

* *Type:* object

***

### ~~`OverrideLogicalId`~~ <a name="OverrideLogicalId" id="cdktn.SwiftBackend.overrideLogicalId" />

```csharp theme={null}
private void OverrideLogicalId(string NewLogicalId)
```

Overrides the auto-generated logical ID with a specific ID.

#### `NewLogicalId`<sup>Required</sup> <a name="NewLogicalId" id="cdktn.SwiftBackend.overrideLogicalId.parameter.newLogicalId" />

* *Type:* string

The new logical ID to use for this stack element.

***

### ~~`ResetOverrideLogicalId`~~ <a name="ResetOverrideLogicalId" id="cdktn.SwiftBackend.resetOverrideLogicalId" />

```csharp theme={null}
private void ResetOverrideLogicalId()
```

Resets a previously passed logical Id to use the auto-generated logical id again.

### ~~`ToHclTerraform`~~ <a name="ToHclTerraform" id="cdktn.SwiftBackend.toHclTerraform" />

```csharp theme={null}
private object ToHclTerraform()
```

### ~~`ToMetadata`~~ <a name="ToMetadata" id="cdktn.SwiftBackend.toMetadata" />

```csharp theme={null}
private object ToMetadata()
```

### ~~`ToTerraform`~~ <a name="ToTerraform" id="cdktn.SwiftBackend.toTerraform" />

```csharp theme={null}
private object ToTerraform()
```

Adds this resource to the terraform JSON output.

### ~~`GetRemoteStateDataSource`~~ <a name="GetRemoteStateDataSource" id="cdktn.SwiftBackend.getRemoteStateDataSource" />

```csharp theme={null}
private TerraformRemoteState GetRemoteStateDataSource(Construct Scope, string Name, string FromStack)
```

Creates a TerraformRemoteState resource that accesses this backend.

#### `Scope`<sup>Required</sup> <a name="Scope" id="cdktn.SwiftBackend.getRemoteStateDataSource.parameter.scope" />

* *Type:* Constructs.Construct

***

#### `Name`<sup>Required</sup> <a name="Name" id="cdktn.SwiftBackend.getRemoteStateDataSource.parameter.name" />

* *Type:* string

***

#### `FromStack`<sup>Required</sup> <a name="FromStack" id="cdktn.SwiftBackend.getRemoteStateDataSource.parameter._fromStack" />

* *Type:* string

***

## Static Functions <a name="Static Functions" id="Static Functions" />

| **Name**                                                                             | **Description**               |
| ------------------------------------------------------------------------------------ | ----------------------------- |
| <code><a href="#cdktn.SwiftBackend.isConstruct">IsConstruct</a></code>               | Checks if `x` is a construct. |
| <code><a href="#cdktn.SwiftBackend.isTerraformElement">IsTerraformElement</a></code> | *No description.*             |
| <code><a href="#cdktn.SwiftBackend.isBackend">IsBackend</a></code>                   | *No description.*             |

***

### ~~`IsConstruct`~~ <a name="IsConstruct" id="cdktn.SwiftBackend.isConstruct" />

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

SwiftBackend.IsConstruct(object X);
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

#### `X`<sup>Required</sup> <a name="X" id="cdktn.SwiftBackend.isConstruct.parameter.x" />

* *Type:* object

Any object.

***

### ~~`IsTerraformElement`~~ <a name="IsTerraformElement" id="cdktn.SwiftBackend.isTerraformElement" />

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

SwiftBackend.IsTerraformElement(object X);
```

#### `X`<sup>Required</sup> <a name="X" id="cdktn.SwiftBackend.isTerraformElement.parameter.x" />

* *Type:* object

***

### ~~`IsBackend`~~ <a name="IsBackend" id="cdktn.SwiftBackend.isBackend" />

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

SwiftBackend.IsBackend(object X);
```

#### `X`<sup>Required</sup> <a name="X" id="cdktn.SwiftBackend.isBackend.parameter.x" />

* *Type:* object

***

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

| **Name**                                                                                  | **Type**                                                        | **Description**   |
| ----------------------------------------------------------------------------------------- | --------------------------------------------------------------- | ----------------- |
| <code><a href="#cdktn.SwiftBackend.property.node">Node</a></code>                         | <code>Constructs.Node</code>                                    | The tree node.    |
| <code><a href="#cdktn.SwiftBackend.property.cdktfStack">CdktfStack</a></code>             | <code><a href="#cdktn.TerraformStack">TerraformStack</a></code> | *No description.* |
| <code><a href="#cdktn.SwiftBackend.property.fqn">Fqn</a></code>                           | <code>string</code>                                             | *No description.* |
| <code><a href="#cdktn.SwiftBackend.property.friendlyUniqueId">FriendlyUniqueId</a></code> | <code>string</code>                                             | *No description.* |

***

### ~~`Node`~~<sup>Required</sup> <a name="Node" id="cdktn.SwiftBackend.property.node" />

* *Deprecated:* CDK for Terraform no longer supports the swift backend. Terraform deprecated swift in v1.2.3 and removed it in v1.3.

```csharp theme={null}
public Node Node { get; }
```

* *Type:* Constructs.Node

The tree node.

***

### ~~`CdktfStack`~~<sup>Required</sup> <a name="CdktfStack" id="cdktn.SwiftBackend.property.cdktfStack" />

* *Deprecated:* CDK for Terraform no longer supports the swift backend. Terraform deprecated swift in v1.2.3 and removed it in v1.3.

```csharp theme={null}
public TerraformStack CdktfStack { get; }
```

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

***

### ~~`Fqn`~~<sup>Required</sup> <a name="Fqn" id="cdktn.SwiftBackend.property.fqn" />

* *Deprecated:* CDK for Terraform no longer supports the swift backend. Terraform deprecated swift in v1.2.3 and removed it in v1.3.

```csharp theme={null}
public string Fqn { get; }
```

* *Type:* string

***

### ~~`FriendlyUniqueId`~~<sup>Required</sup> <a name="FriendlyUniqueId" id="cdktn.SwiftBackend.property.friendlyUniqueId" />

* *Deprecated:* CDK for Terraform no longer supports the swift backend. Terraform deprecated swift in v1.2.3 and removed it in v1.3.

```csharp theme={null}
public string FriendlyUniqueId { get; }
```

* *Type:* string

***
