# Role

> Resource Role in pulumi-posthog.

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

Resource Role in pulumi-posthog.

Pulumi type: `posthog:index/role:Role`.

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

const resource = new posthog.Role("role", {})
```

## Arguments

| Property         | Type     | Required | Description                                                                                                                                                                                                                                                                                                     |
| ---------------- | -------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `name`           | `string` | no       | The name of the role.                                                                                                                                                                                                                                                                                           |
| `organizationId` | `string` | no       | Organization for this resource. Overrides the provider-level organization_id. Accepts an organization UUID, an organization slug, or the literal `@current` (the authenticated user's organization); slugs and `@current` are resolved to a UUID for API calls while your original value is preserved in state. |

## Outputs

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

| Property         | Type     | Computed | Description                                                                                                                                                                                                                                                                                                     |
| ---------------- | -------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `createdAt`      | `string` | yes      | Timestamp when the role was created.                                                                                                                                                                                                                                                                            |
| `createdBy`      | `string` | yes      | UUID of the user who created the role.                                                                                                                                                                                                                                                                          |
| `name`           | `string` | no       | The name of the role.                                                                                                                                                                                                                                                                                           |
| `organizationId` | `string` | no       | Organization for this resource. Overrides the provider-level organization_id. Accepts an organization UUID, an organization slug, or the literal `@current` (the authenticated user's organization); slugs and `@current` are resolved to a UUID for API calls while your original value is preserved in state. |
