# AuthorizationModel

> Resource AuthorizationModel in pulumi-openfga.

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

Resource AuthorizationModel in pulumi-openfga.

Pulumi type: `openfga:index/authorizationModel:AuthorizationModel`.

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

const resource = new openfga.AuthorizationModel("authorizationModel", {
  modelJson: "<modelJson>",
  storeId: "<storeId>",
})
```

## Arguments

| Property    | Type     | Required | Description                                                                                                                  |
| ----------- | -------- | -------- | ---------------------------------------------------------------------------------------------------------------------------- |
| `modelJson` | `string` | yes      | The authorization model definition in JSON format. Consider using `openfga.getAuthorizationModelDocument` to set this field. |
| `storeId`   | `string` | yes      | The unique ID of the store this authorization model belongs to.                                                              |

## Outputs

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

| Property    | Type     | Computed | Description                                                                                                                  |
| ----------- | -------- | -------- | ---------------------------------------------------------------------------------------------------------------------------- |
| `modelJson` | `string` | no       | The authorization model definition in JSON format. Consider using `openfga.getAuthorizationModelDocument` to set this field. |
| `storeId`   | `string` | no       | The unique ID of the store this authorization model belongs to.                                                              |
