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

> CDKTN Core API Reference for TaggedCloudWorkspaces in Go.

A set of Terraform Cloud workspace tags.

You will be able to use this working directory with any workspaces that have all of the specified tags, and can use the terraform workspace commands to switch between them or create new workspaces. New workspaces will automatically have the specified tags. This option conflicts with name.

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

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

cdktn.NewTaggedCloudWorkspaces(tags *[]*string, project *string) TaggedCloudWorkspaces
```

| **Name**                                                                                      | **Type**                   | **Description**   |
| --------------------------------------------------------------------------------------------- | -------------------------- | ----------------- |
| <code><a href="#cdktn.TaggedCloudWorkspaces.Initializer.parameter.tags">tags</a></code>       | <code>\*\[]\*string</code> | *No description.* |
| <code><a href="#cdktn.TaggedCloudWorkspaces.Initializer.parameter.project">project</a></code> | <code>\*string</code>      | *No description.* |

***

### `tags`<sup>Required</sup> <a name="tags" id="cdktn.TaggedCloudWorkspaces.Initializer.parameter.tags" />

* *Type:* \*\[]\*string

***

### `project`<sup>Optional</sup> <a name="project" id="cdktn.TaggedCloudWorkspaces.Initializer.parameter.project" />

* *Type:* \*string

***

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

| **Name**                                                                              | **Description**   |
| ------------------------------------------------------------------------------------- | ----------------- |
| <code><a href="#cdktn.TaggedCloudWorkspaces.toTerraform">ToTerraform</a></code>       | *No description.* |
| <code><a href="#cdktn.TaggedCloudWorkspaces.toHclTerraform">ToHclTerraform</a></code> | *No description.* |

***

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

```go theme={null}
func ToTerraform() interface{}
```

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

```go theme={null}
func ToHclTerraform() interface{}
```

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

| **Name**                                                                         | **Type**                   | **Description**   |
| -------------------------------------------------------------------------------- | -------------------------- | ----------------- |
| <code><a href="#cdktn.TaggedCloudWorkspaces.property.tags">Tags</a></code>       | <code>\*\[]\*string</code> | *No description.* |
| <code><a href="#cdktn.TaggedCloudWorkspaces.property.project">Project</a></code> | <code>\*string</code>      | *No description.* |

***

### `Tags`<sup>Required</sup> <a name="Tags" id="cdktn.TaggedCloudWorkspaces.property.tags" />

```go theme={null}
func Tags() *[]*string
```

* *Type:* \*\[]\*string

***

### `Project`<sup>Optional</sup> <a name="Project" id="cdktn.TaggedCloudWorkspaces.property.project" />

```go theme={null}
func Project() *string
```

* *Type:* \*string

***
