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

> CDKTN Core API Reference for IResource in Go.

* *Extends:* github.com/aws/constructs-go/constructs/v10.IConstruct

* *Implemented By:* <a href="#cdktn.Resource">Resource</a>, <a href="#cdktn.IResource">IResource</a>

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

| **Name**                                                         | **Type**                                                        | **Description**                              |
| ---------------------------------------------------------------- | --------------------------------------------------------------- | -------------------------------------------- |
| <code><a href="#cdktn.IResource.property.node">Node</a></code>   | <code>github.com/aws/constructs-go/constructs/v10.Node</code>   | The tree node.                               |
| <code><a href="#cdktn.IResource.property.stack">Stack</a></code> | <code><a href="#cdktn.TerraformStack">TerraformStack</a></code> | The stack in which this resource is defined. |

***

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

```go theme={null}
func Node() Node
```

* *Type:* github.com/aws/constructs-go/constructs/v10.Node

The tree node.

***

### `Stack`<sup>Required</sup> <a name="Stack" id="cdktn.IResource.property.stack" />

```go theme={null}
func Stack() TerraformStack
```

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

The stack in which this resource is defined.

***
