# TeamMember

> Resource TeamMember in pulumi-buildkite.

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

Resource TeamMember in pulumi-buildkite.

Pulumi type: `buildkite:index/teamMember:TeamMember`.

`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 buildkite from "pulumi-buildkite"

const resource = new buildkite.TeamMember("teamMember", {
  role: "<role>",
  teamId: "<teamId>",
  userId: "<userId>",
})
```

## Arguments

| Property | Type     | Required | Description                                             |
| -------- | -------- | -------- | ------------------------------------------------------- |
| `role`   | `string` | yes      | The role for the user. Either `MEMBER` or `MAINTAINER`. |
| `teamId` | `string` | yes      | The GraphQL ID of the team.                             |
| `userId` | `string` | yes      | The GraphQL ID of the user.                             |

## Outputs

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

| Property | Type     | Computed | Description                                             |
| -------- | -------- | -------- | ------------------------------------------------------- |
| `role`   | `string` | no       | The role for the user. Either `MEMBER` or `MAINTAINER`. |
| `teamId` | `string` | no       | The GraphQL ID of the team.                             |
| `userId` | `string` | no       | The GraphQL ID of the user.                             |
| `uuid`   | `string` | yes      | The UUID of the team membership.                        |
