# Connection

> Resource Connection in pulumi-teamcity.

<!-- Generated from the pulumi-teamcity SDK. -->

Resource Connection in pulumi-teamcity.

Pulumi type: `teamcity:index/connection:Connection`.

`name` is the Pulumi resource name. Nested object fields are documented under that object. They are not arguments of this resource.

## Example

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

```ts
import * as teamcity from "pulumi-teamcity"

const resource = new teamcity.Connection("connection", {
  githubApp: {
    appId: "<appId>",
    clientId: "<clientId>",
    clientSecret: "<clientSecret>",
    displayName: "<displayName>",
    ownerUrl: "<ownerUrl>",
    privateKey: "<privateKey>",
    webhookSecret: "<webhookSecret>",
  },
  projectId: "<projectId>",
})
```

## Arguments

| Property    | Type                          | Required | Description |
| ----------- | ----------------------------- | -------- | ----------- |
| `githubApp` | `ConnectionGithubApp (input)` | yes      |             |
| `projectId` | `string`                      | yes      |             |

## Outputs

Computed outputs are produced by the provider. They are not constructor arguments.

| Property    | Type                           | Computed | Description |
| ----------- | ------------------------------ | -------- | ----------- |
| `featureId` | `string`                       | yes      |             |
| `githubApp` | `ConnectionGithubApp (output)` | no       |             |
| `projectId` | `string`                       | no       |             |

## `ConnectionGithubApp (input)`

Input object `ConnectionGithubApp`. Fields below belong to this object, not to the parent.

| Property        | Type     | Required | Description |
| --------------- | -------- | -------- | ----------- |
| `appId`         | `string` | yes      |             |
| `clientId`      | `string` | yes      |             |
| `clientSecret`  | `string` | yes      |             |
| `displayName`   | `string` | yes      |             |
| `ownerUrl`      | `string` | yes      |             |
| `privateKey`    | `string` | yes      |             |
| `webhookSecret` | `string` | yes      |             |

## `ConnectionGithubApp (output)`

Output object `ConnectionGithubApp`. Fields below belong to this object.

| Property        | Type     | Always present | Description |
| --------------- | -------- | -------------- | ----------- |
| `appId`         | `string` | yes            |             |
| `clientId`      | `string` | yes            |             |
| `clientSecret`  | `string` | yes            |             |
| `displayName`   | `string` | yes            |             |
| `ownerUrl`      | `string` | yes            |             |
| `privateKey`    | `string` | yes            |             |
| `webhookSecret` | `string` | yes            |             |
