# TeamMember

> Resource TeamMember in pulumi-better-uptime.

<!-- Generated from the pulumi-better-uptime SDK. -->

Resource TeamMember in pulumi-better-uptime.

Pulumi type: `better-uptime: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 betteruptime from "pulumi-better-uptime"

const resource = new betteruptime.TeamMember("teamMember", {
  email: "<email>",
})
```

## Arguments

| Property       | Type     | Required | Description                                                                                                                                                                                                                                                                                                                                         |
| -------------- | -------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `email`        | `string` | yes      | The email address of the team member to invite.                                                                                                                                                                                                                                                                                                     |
| `role`         | `string` | no       | The system role of the team member. Allowed values: responder, member, team_lead, billing_admin. Defaults to responder. Use `roleId` to assign a custom role. Set only one of `role` or `roleId`. Managing a team member whose role is `billingAdmin` requires a global API token, because Billing admin applies to every team in the organization. |
| `roleId`       | `string` | no       | The ID of the role to assign — for example from the `better-uptime.getRole` data source. Use this to assign a custom role (for built-in roles you can use `role` instead). Set only one of `role` or `roleId`.                                                                                                                                      |
| `teamMemberId` | `string` | no       |                                                                                                                                                                                                                                                                                                                                                     |
| `teamName`     | `string` | no       | Used to specify the team the resource should be created in when using global tokens.                                                                                                                                                                                                                                                                |

## Outputs

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

| Property             | Type       | Computed | Description                                                                                                                                                                                                                                                                                                                                         |
| -------------------- | ---------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `createdAt`          | `string`   | yes      | The creation timestamp of the team member account.                                                                                                                                                                                                                                                                                                  |
| `email`              | `string`   | no       | The email address of the team member to invite.                                                                                                                                                                                                                                                                                                     |
| `firstName`          | `string`   | yes      | The first name of the team member (available after invitation is accepted).                                                                                                                                                                                                                                                                         |
| `invitedAt`          | `string`   | yes      | The timestamp when the invitation was sent.                                                                                                                                                                                                                                                                                                         |
| `lastName`           | `string`   | yes      | The last name of the team member (available after invitation is accepted).                                                                                                                                                                                                                                                                          |
| `memberId`           | `string`   | yes      | The numeric ID of the team member. Empty for pending invitations.                                                                                                                                                                                                                                                                                   |
| `mobileAppPlatforms` | `string[]` | yes      | The mobile app platforms the team member has installed (e.g. ios, android).                                                                                                                                                                                                                                                                         |
| `role`               | `string`   | no       | The system role of the team member. Allowed values: responder, member, team_lead, billing_admin. Defaults to responder. Use `roleId` to assign a custom role. Set only one of `role` or `roleId`. Managing a team member whose role is `billingAdmin` requires a global API token, because Billing admin applies to every team in the organization. |
| `roleId`             | `string`   | no       | The ID of the role to assign — for example from the `better-uptime.getRole` data source. Use this to assign a custom role (for built-in roles you can use `role` instead). Set only one of `role` or `roleId`.                                                                                                                                      |
| `teamMemberId`       | `string`   | no       |                                                                                                                                                                                                                                                                                                                                                     |
| `teamName`           | `string`   | no       | Used to specify the team the resource should be created in when using global tokens.                                                                                                                                                                                                                                                                |
