# Organization

> Resource Organization in pulumi-buildkite.

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

Resource Organization in pulumi-buildkite.

Pulumi type: `buildkite:index/organization:Organization`.

`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.Organization("organization", {})
```

## Arguments

| Property                       | Type       | Required | Description                                                                                                                                                                                                                                                                                                                                                                                  |
| ------------------------------ | ---------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `allowedApiIpAddresses`        | `string[]` | no       | A list of IP addresses in CIDR format that are allowed to access the Buildkite API.If not set, all IP addresses are allowed (the same as setting 0.0.0.0/0). &gt; The "Allowed API IP Addresses" feature must be enabled on your organization in order to manage the `allowedApiIpAddresses` attribute.                                                                                      |
| `enforce2fa`                   | `boolean`  | no       | Sets whether the organization requires two-factor authentication for all members.                                                                                                                                                                                                                                                                                                            |
| `restrictUserApiTokenCreation` | `boolean`  | no       | Whether only organization administrators can create new API access tokens for this organization. If omitted, the current setting is left unchanged. Requires an API token with the `readOrganizationSettings` and `writeOrganizationSettings` scopes.                                                                                                                                        |
| `revokeInactiveTokensAfter`    | `string`   | no       | The period of inactivity after which user API access tokens are revoked. Valid values are `NEVER`, `DAYS_30`, `DAYS_60`, `DAYS_90`, `DAYS_180` and `DAYS_365`. If omitted, the current setting is left unchanged. Requires an API token with the `readOrganizationSettings` and `writeOrganizationSettings` scopes and the inactive API token revocation feature on the organization's plan. |

## Outputs

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

| Property                       | Type       | Computed | Description                                                                                                                                                                                                                                                                                                                                                                                  |
| ------------------------------ | ---------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `allowedApiIpAddresses`        | `string[]` | no       | A list of IP addresses in CIDR format that are allowed to access the Buildkite API.If not set, all IP addresses are allowed (the same as setting 0.0.0.0/0). &gt; The "Allowed API IP Addresses" feature must be enabled on your organization in order to manage the `allowedApiIpAddresses` attribute.                                                                                      |
| `enforce2fa`                   | `boolean`  | no       | Sets whether the organization requires two-factor authentication for all members.                                                                                                                                                                                                                                                                                                            |
| `restrictUserApiTokenCreation` | `boolean`  | no       | Whether only organization administrators can create new API access tokens for this organization. If omitted, the current setting is left unchanged. Requires an API token with the `readOrganizationSettings` and `writeOrganizationSettings` scopes.                                                                                                                                        |
| `revokeInactiveTokensAfter`    | `string`   | no       | The period of inactivity after which user API access tokens are revoked. Valid values are `NEVER`, `DAYS_30`, `DAYS_60`, `DAYS_90`, `DAYS_180` and `DAYS_365`. If omitted, the current setting is left unchanged. Requires an API token with the `readOrganizationSettings` and `writeOrganizationSettings` scopes and the inactive API token revocation feature on the organization's plan. |
| `uuid`                         | `string`   | yes      | The UUID of the organization.                                                                                                                                                                                                                                                                                                                                                                |
